org.gnu.pango

Class Attribute

Known Direct Subclasses:
AttrColor, AttrFloat, AttrFontDesc, AttrInt, AttrLanguage, AttrShape, AttrString, PangoAttrEmbossed, PangoAttrStipple

public class Attribute
extends MemStruct

Attributed text is used in a number of places in Pango. It is used as the input to the itemization process and also when creating a Layout. The data types and functions in this section are used to represent and manipulate sets of attributes applied to a portion of text.

Method Summary

int
getEndIndex()
Returns end index of the range.
int
getStartIndex()
Returns the start index of the range

Method Details

getEndIndex

public int getEndIndex()
Returns end index of the range. The character at this index is not included in the range.

getStartIndex

public int getStartIndex()
Returns the start index of the range