XpsGlyphs

Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsElement, com.aspose.xps.XpsHyperlinkElement, com.aspose.xps.XpsContentElement

public final class XpsGlyphs extends XpsContentElement

Class incapsulating Glyphs element features. This element represents a run of uniformly-formatted text from a single font. It provides information necessary for accurate rendering and supports search and selection features in viewing consumers.

Methods

MethodDescription
deepClone()Clone this glyphs.
equals(Object arg0)
get(int i)Provides access to element’s children by index i .
getBidiLevel()Returns the value specifying the Unicode algorithm bidirectional nesting level.
getClass()
getClip()Returns the path geometry limiting the rendered region of the element.
getFill()Returns the brush used to fill the shape of the rendered glyphs.
getFont()Returns the font resource for the TrueType font used to typeset elements text.
getFontRenderingEmSize()Returns the font size in drawing surface units, expressed as a float in units of the effective coordinate space.
getHyperlinkTarget()Returns hyperlink target object.
getOpacity()Returns the value defining the uniform transparency of the element.
getOpacityMask()Returns the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.
getOriginX()Returns the x coordinate of the first glyph in the run, in units of the effective coordinate space.
getOriginY()Returns the y coordinate of the first glyph in the run, in units of the effective coordinate space.
getRenderTransform()Returns the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).
getStyleSimulations()Returns the value specifying a style simulation.
getUnicodeString()Returns the string of text rendered by the Glyphs element.
hashCode()
isSideways()Returns the value indicating that a glyph is turned on its side, with the origin being defined as the top center of the unturned glyph.
iterator()Implementation of Iterable interface.
notify()
notifyAll()
setBidiLevel(int value)Sets the value specifying the Unicode algorithm bidirectional nesting level.
setClip(XpsPathGeometry value)Sets the path geometry limiting the rendered region of the element.
setFill(XpsBrush value)Sets the brush used to fill the shape of the rendered glyphs.
setFontRenderingEmSize(float value)Sets the font size in drawing surface units, expressed as a float in units of the effective coordinate space.
setHyperlinkTarget(XpsHyperlinkTarget value)Sets hyperlink target object.
setOpacity(float value)Sets the value defining the uniform transparency of the element.
setOpacityMask(XpsBrush value)Sets the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.
setOriginX(float value)Sets the x coordinate of the first glyph in the run, in units of the effective coordinate space.
setOriginY(float value)Sets the y coordinate of the first glyph in the run, in units of the effective coordinate space.
setRenderTransform(XpsMatrix value)Sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).
setSideways(boolean value)Sets the value indicating that a glyph is turned on its side, with the origin being defined as the top center of the unturned glyph.
setStyleSimulations(XpsStyleSimulations value)Sets the value specifying a style simulation.
setUnicodeString(String value)Sets the string of text rendered by the Glyphs element.
size()Returns the number of child elements.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public XpsGlyphs deepClone()

Clone this glyphs.

Returns: XpsGlyphs - Clone of this glyphs.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int i)

public XpsContentElement get(int i)

Provides access to element’s children by index i .

Parameters:

ParameterTypeDescription
iintIndex of child element.

Returns: XpsContentElement - Child element at i position.

getBidiLevel()

public int getBidiLevel()

Returns the value specifying the Unicode algorithm bidirectional nesting level. Even values imply left-to-right layout, odd values imply right-to-left layout. Right-to-left layout places the run origin at the right side of the first glyph, with positive advance widths (representing advances to the left) placing subsequent glyphs to the left of the previous glyph.

Returns: int - The value specifying the Unicode algorithm bidirectional nesting level.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getClip()

public XpsPathGeometry getClip()

Returns the path geometry limiting the rendered region of the element.

Returns: XpsPathGeometry - The path geometry limiting the rendered region of the element.

getFill()

public XpsBrush getFill()

Returns the brush used to fill the shape of the rendered glyphs.

Returns: XpsBrush - The brush used to fill the shape of the rendered glyphs.

getFont()

public XpsFont getFont()

Returns the font resource for the TrueType font used to typeset elements text.

Returns: XpsFont - The font resource for the TrueType font used to typeset elements text.

getFontRenderingEmSize()

public float getFontRenderingEmSize()

Returns the font size in drawing surface units, expressed as a float in units of the effective coordinate space.

Returns: float - The font size.

getHyperlinkTarget()

public XpsHyperlinkTarget getHyperlinkTarget()

Returns hyperlink target object.

Returns: XpsHyperlinkTarget - Hyperlink target object.

getOpacity()

public float getOpacity()

Returns the value defining the uniform transparency of the element.

Returns: float - The value defining the uniform transparency of the element.

getOpacityMask()

public XpsBrush getOpacityMask()

Returns the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.

Returns: XpsBrush - The brush specifying a mask.

getOriginX()

public float getOriginX()

Returns the x coordinate of the first glyph in the run, in units of the effective coordinate space.

Returns: float - The x coordinate of the first glyph in the run, in units of the effective coordinate space.

getOriginY()

public float getOriginY()

Returns the y coordinate of the first glyph in the run, in units of the effective coordinate space.

Returns: float - The y coordinate of the first glyph in the run, in units of the effective coordinate space.

getRenderTransform()

public XpsMatrix getRenderTransform()

Returns the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).

Returns: XpsMatrix - The affine transformation matrix.

getStyleSimulations()

public XpsStyleSimulations getStyleSimulations()

Returns the value specifying a style simulation.

Returns: XpsStyleSimulations - The value specifying a style simulation.

getUnicodeString()

public String getUnicodeString()

Returns the string of text rendered by the Glyphs element. The text is specified as Unicode code points.

Returns: java.lang.String - The string of text rendered by the Glyphs element.

hashCode()

public native int hashCode()

Returns: int

isSideways()

public boolean isSideways()

Returns the value indicating that a glyph is turned on its side, with the origin being defined as the top center of the unturned glyph.

Returns: boolean - The value indicating that a glyph is turned on its side.

iterator()

public Iterator<XpsContentElement> iterator()

Implementation of Iterable interface.

Returns: java.util.Iterator<com.aspose.xps.XpsContentElement> - Returns enumerator for the list.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBidiLevel(int value)

public void setBidiLevel(int value)

Sets the value specifying the Unicode algorithm bidirectional nesting level. Even values imply left-to-right layout, odd values imply right-to-left layout. Right-to-left layout places the run origin at the right side of the first glyph, with positive advance widths (representing advances to the left) placing subsequent glyphs to the left of the previous glyph.

Parameters:

ParameterTypeDescription
valueintThe value specifying the Unicode algorithm bidirectional nesting level.

setClip(XpsPathGeometry value)

public void setClip(XpsPathGeometry value)

Sets the path geometry limiting the rendered region of the element.

Parameters:

ParameterTypeDescription
valueXpsPathGeometryThe path geometry limiting the rendered region of the element.

setFill(XpsBrush value)

public void setFill(XpsBrush value)

Sets the brush used to fill the shape of the rendered glyphs.

Parameters:

ParameterTypeDescription
valueXpsBrushThe brush used to fill the shape of the rendered glyphs.

setFontRenderingEmSize(float value)

public void setFontRenderingEmSize(float value)

Sets the font size in drawing surface units, expressed as a float in units of the effective coordinate space.

Parameters:

ParameterTypeDescription
valuefloatThe font size.

setHyperlinkTarget(XpsHyperlinkTarget value)

public void setHyperlinkTarget(XpsHyperlinkTarget value)

Sets hyperlink target object.

Parameters:

ParameterTypeDescription
valueXpsHyperlinkTargetHyperlink target object.

setOpacity(float value)

public void setOpacity(float value)

Sets the value defining the uniform transparency of the element.

Parameters:

ParameterTypeDescription
valuefloatThe value defining the uniform transparency of the element.

setOpacityMask(XpsBrush value)

public void setOpacityMask(XpsBrush value)

Sets the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.

Parameters:

ParameterTypeDescription
valueXpsBrushThe brush specifying a mask.

setOriginX(float value)

public void setOriginX(float value)

Sets the x coordinate of the first glyph in the run, in units of the effective coordinate space.

Parameters:

ParameterTypeDescription
valuefloatThe x coordinate of the first glyph in the run, in units of the effective coordinate space.

setOriginY(float value)

public void setOriginY(float value)

Sets the y coordinate of the first glyph in the run, in units of the effective coordinate space.

Parameters:

ParameterTypeDescription
valuefloatThe y coordinate of the first glyph in the run, in units of the effective coordinate space.

setRenderTransform(XpsMatrix value)

public void setRenderTransform(XpsMatrix value)

Sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).

Parameters:

ParameterTypeDescription
valueXpsMatrixThe affine transformation matrix.

setSideways(boolean value)

public void setSideways(boolean value)

Sets the value indicating that a glyph is turned on its side, with the origin being defined as the top center of the unturned glyph.

Parameters:

ParameterTypeDescription
valuebooleanThe value indicating that a glyph is turned on its side.

setStyleSimulations(XpsStyleSimulations value)

public void setStyleSimulations(XpsStyleSimulations value)

Sets the value specifying a style simulation.

Parameters:

ParameterTypeDescription
valueXpsStyleSimulationsThe value specifying a style simulation.

setUnicodeString(String value)

public void setUnicodeString(String value)

Sets the string of text rendered by the Glyphs element. The text is specified as Unicode code points.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe string of text rendered by the Glyphs element.

size()

public int size()

Returns the number of child elements.

Returns: int - The number of child elements.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int