TinyLine
v2.0

com.tinyline.tiny2d
Class TinyGlyph

java.lang.Object
  extended bycom.tinyline.tiny2d.TinyGlyph

public final class TinyGlyph
extends java.lang.Object

The TinyGlyph class specifies a glyph representing a unit of rendered content within a font.

Fonts consist of a collection of glyphs and other associated information. Each TinyGlyph object consists of an identifier (unicode char) along with drawing instructions (path) for rendering that particular glyph. The horizAdvX is a metric which is used to describe how the glyph must be placed and managed when rendering text.

Version:
2.0

Author:
Andrew Girow

Field Summary
 int horizAdvX
          The horizontal advance value.
 TinyPath path
          The glyph outline.
 int unicode
          The unicode char this glyph represents.
 
Constructor Summary
TinyGlyph()
          Constructs and initializes a new TinyGlyph object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unicode

public int unicode
The unicode char this glyph represents.


horizAdvX

public int horizAdvX
The horizontal advance value.


path

public TinyPath path
The glyph outline.

Constructor Detail

TinyGlyph

public TinyGlyph()
Constructs and initializes a new TinyGlyph object.


TinyLine
v2.0

Provided under the terms of the TinyLine License Agreement that has been included with this distribution