SetCharWidthBoundingBox

SetCharWidthBoundingBox

Overview

SetCharWidthBoundingBox is a class in Aspose.PDF FOSS for Java. Inherits from: Operator.

Set char width and bounding box operator for Type 3 fonts (d1).

This class provides 17 methods for working with SetCharWidthBoundingBox objects in Java programs. Available methods include: Operator, SetCharWidthBoundingBox, equals, getIndex, getLlx, getLly, getName, getOperands, getUrx, getUry, getWx, getWy, and 4 additional methods. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: index, llx, lly, name, operands, urx, and 3 more.

Properties

NameTypeAccessDescription
wxdoubleReadReturns the horizontal displacement component.
wydoubleReadReturns the vertical displacement component.
llxdoubleReadReturns the lower-left x of the bounding box.
llydoubleReadReturns the lower-left y of the bounding box.
urxdoubleReadReturns the upper-right x of the bounding box.
urydoubleReadReturns the upper-right y of the bounding box.
nameStringReadReturns the operator keyword.
indexintReadReturns the index of this operator within its parent {@link OperatorCollection},
or -1 if not set.
operandsList<PdfBase>ReadReturns the operands as an unmodifiable list.

Methods

SignatureDescription
SetCharWidthBoundingBox(wx: double, wy: double, llx: double, lly: double, urx: double, ury: double)Creates a SetCharWidthBoundingBox (d1) operator with the specified values.
SetCharWidthBoundingBox(operands: List<PdfBase>)Creates a SetCharWidthBoundingBox (d1) operator from parsed operands.
getWx() → doubleReturns the horizontal displacement component.
getWy() → doubleReturns the vertical displacement component.
getLlx() → doubleReturns the lower-left x of the bounding box.
getLly() → doubleReturns the lower-left y of the bounding box.
getUrx() → doubleReturns the upper-right x of the bounding box.
getUry() → doubleReturns the upper-right y of the bounding box.
Operator(name: String, operands: List<PdfBase>)Creates an operator with the given name and operands.
getName() → StringReturns the operator keyword.
getIndex() → intReturns the index of this operator within its parent {@link OperatorCollection},
or -1 if not set.
setIndex(index: int)Sets the index of this operator within its parent collection.
getOperands() → List<PdfBase>Returns the operands as an unmodifiable list.
toString() → StringReturns a string representation of this operator in content stream syntax.
writeTo(os: OutputStream)Writes this operator’s content-stream serialization to {@code os} preserving
exact operand bytes.
equals(o: Object) → boolean
hashCode() → int

See Also

 English