public class Shape extends Object implements IDataType, ICharacterReferrer
DefineFont
tag, to define character glyphs.Modifier and Type | Field and Description |
---|---|
protected int |
numFillBits |
protected int |
numLineBits |
protected List<ShapeRecord> |
shapeRecords |
Constructor and Description |
---|
Shape() |
Modifier and Type | Method and Description |
---|---|
void |
addShapeRecord(ShapeRecord value)
Add a new shape record.
|
void |
addShapeRecords(List<ShapeRecord> value)
Add new shape records.
|
int |
getNumFillBits() |
int |
getNumLineBits() |
Iterable<ICharacterTag> |
getReferences()
If one the shape records is a StyleChangeRecord, it may contain
references to other character tags.
|
List<ShapeRecord> |
getShapeRecords()
Get shape records.
|
void |
setNumFillBits(int value) |
void |
setNumLineBits(int value) |
protected List<ShapeRecord> shapeRecords
protected int numFillBits
protected int numLineBits
public List<ShapeRecord> getShapeRecords()
public void addShapeRecords(List<ShapeRecord> value)
value
- new shape records.public void addShapeRecord(ShapeRecord value)
value
- new shape record.public int getNumFillBits()
public void setNumFillBits(int value)
value
- the numFillBits to setpublic int getNumLineBits()
public void setNumLineBits(int value)
value
- the numLineBits to setpublic Iterable<ICharacterTag> getReferences()
getReferences
in interface ICharacterReferrer
Iterable
.Copyright © 2016 The Apache Software Foundation. All rights reserved.