com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class Glyph

    • Method Detail

      • getState

        public GlyphState getState()

        Gets glyph state.

        Returns:
        Glyph state.
      • isEmpty

        public boolean isEmpty()

        True if the glyph doesn't contain drawing instructions.

        Returns:
        True if the glyph doesn't contain drawing instructions.
      • getPath

        public SegmentPath getPath()

        Gets glyph path.

        Returns:
        Glyph path.
      • getLeftSidebearingX

        public double getLeftSidebearingX()

        Gets glyph side bearing x coordinate.

        Returns:
        Glyph side bearing x coordinate.
      • getLeftSidebearingY

        public double getLeftSidebearingY()

        Gets glyph side bearing y coordinate.

        Returns:
        Glyph side bearing y coordinate.
      • getWidthVectorX

        public double getWidthVectorX()

        Gets glyph width vector. Coordinate x.

        Returns:
        Glyph width vector. Coordinate x.
      • getWidthVectorY

        public double getWidthVectorY()

        Gets glyph width vector. Coordinate y.

        Returns:
        Glyph width vector. Coordinate y.
      • getSourceResolution

        public int getSourceResolution()

        Gets resolution of the source command set.

        Returns:
        Resolution of the source command set.
      • getGlyphBBox

        public FontBBox getGlyphBBox()

        Gets glyph BBox.

        Returns:
        Glyph BBox
      • clone

        public Object clone()

        Returns copy of glyph.

        Overrides:
        clone in class Object
        Returns:
        Copy of Glyph.