SetCharWidthBoundingBox

Inheritance: java.lang.Object, com.aspose.pdf.Operator com.aspose.pdf.operators.SetCharWidthBoundingBox, com.aspose.pdf.Operator, com.aspose.pdf.operators.SetCharWidthBoundingBox

public class SetCharWidthBoundingBox extends Operator

Class representing d1 operator (set glyph and bounding box).

Constructors

ConstructorDescription
SetCharWidthBoundingBoxInitializes SetCharWidthBoundingBox operator.
SetCharWidthBoundingBoxConstructor for operator class.

Methods

MethodDescription
acceptAccepts visitor object to process operator.
getLlxLower-left horizontal coordinate of bounding rectangle.
getLlyLower-left vertical coordinate of bounding rectangle.
getUrxUpper-right horizontal coordinate of bounding rectangle.
getUryUpper-right vertical coordinate of bounding rectangle.
getWxHorizontal displacement of glyph.
getWyVertical displacement of glyph.
toCommandFor internal usage only!
toStringReturns text representation of operator.

SetCharWidthBoundingBox

public SetCharWidthBoundingBox(double wx, double wy, double llx, double lly, double urx, double ury)

Initializes SetCharWidthBoundingBox operator.

Parameters:

ParameterTypeDescription
wxDenotes the horizontal displacement in the glyph coordinate.
wyDenotes the vertical displacement in the glyph coordinate. Shall be 0.
llxDenotes X coordinate of the lower-left corner.
llyDenotes Y coordinate of the lower-left corner.
urxDenotes X coordinate of upper-right corner.
uryDenotes Y coordinate of upper-right corner.

SetCharWidthBoundingBox

Constructor for operator class.

accept

Accepts visitor object to process operator.

getLlx

public double getLlx()

Lower-left horizontal coordinate of bounding rectangle.

Returns: double value

getLly

public double getLly()

Lower-left vertical coordinate of bounding rectangle.

Returns: double value

getUrx

public double getUrx()

Upper-right horizontal coordinate of bounding rectangle.

Returns: double value

getUry

public double getUry()

Upper-right vertical coordinate of bounding rectangle.

Returns: double value

getWx

public double getWx()

Horizontal displacement of glyph.

Returns: double value

getWy

public double getWy()

Vertical displacement of glyph.

Returns: double value

toCommand

public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()

For internal usage only!

Returns: ICommand value ICommand object

toString

public String toString()

Returns text representation of operator.

Returns: Text representation of representation