org.pdfclown.documents.contents.objects
Class SetTextScale
java.lang.Object
org.pdfclown.documents.contents.objects.ContentObject
org.pdfclown.documents.contents.objects.Operation
org.pdfclown.documents.contents.objects.SetTextScale
@PDF(value=PDF10)
public final class SetTextScale
- extends Operation
'Set the horizontal scaling' operation [PDF:1.6:5.2].
- Since:
- 0.0.4
- Version:
- 0.1.2, 02/04/12
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Method Summary |
double |
getValue()
Gets the horizontal scale expressed as a percentage of the normal width (100). |
void |
scan(ContentScanner.GraphicsState state)
Applies this object to the specified graphics context, updating the specified graphics state. |
void |
setValue(double value)
|
Operator
public static final String Operator
- See Also:
- Constant Field Values
SetTextScale
public SetTextScale(double value)
SetTextScale
public SetTextScale(List<PdfDirectObject> operands)
getValue
public double getValue()
- Gets the horizontal scale expressed as a percentage of the normal width (100).
scan
public void scan(ContentScanner.GraphicsState state)
- Description copied from class:
ContentObject
- Applies this object to the specified graphics context, updating the specified graphics state.
- Overrides:
scan
in class ContentObject
- Parameters:
state
- Graphics state.
setValue
public void setValue(double value)
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.