SelectFont

Inheritance: java.lang.Object, com.aspose.pdf.Operator com.aspose.pdf.operators.TextOperator com.aspose.pdf.operators.TextStateOperator com.aspose.pdf.operators.SelectFont, com.aspose.pdf.Operator, com.aspose.pdf.operators.TextOperator com.aspose.pdf.operators.TextStateOperator com.aspose.pdf.operators.SelectFont, com.aspose.pdf.operators.TextOperator, com.aspose.pdf.operators.TextStateOperator com.aspose.pdf.operators.SelectFont, com.aspose.pdf.operators.TextStateOperator, com.aspose.pdf.operators.SelectFont

public class SelectFont extends TextStateOperator

Class representing Tf operator (set text font and size).

Constructors

ConstructorDescription
SelectFontConstructor for operator class.
SelectFontConstructor for writin program.

Methods

MethodDescription
acceptAccepts visitor object to process operator.
getNameGets name of font.
getSizeGets size of text.
toStringReturns text representation of operator.

SelectFont

Constructor for operator class.

SelectFont

Constructor for writin program.

accept

Accepts visitor object to process operator.

getName

public String getName()

Gets name of font.

Returns: String value

getSize

public double getSize()

Gets size of text.

Returns: double value

toString

public String toString()

Returns text representation of operator.

Returns: Text representation of operator.