public class DXFStyle extends DXFTableRecord
Constructor and Description |
---|
DXFStyle(java.awt.Font font)
Create a style object corresponding to the supplied Android typeface object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(DXFStyle other)
Equals method for use in determining if a Style is already present.
|
java.lang.String |
getStyleName()
Get the name (integer identifier) for this style object, for use within a DXFText entity.
|
java.lang.String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the text style.
|
getHandle, getHandleCount
public DXFStyle(java.awt.Font font)
font
- Font whose parameters (size, style, typeface) should be represented in the style objectpublic java.lang.String toDXFString()
toDXFString
in interface DXFObject
toDXFString
in class DXFTableRecord
public boolean equals(DXFStyle other)
other
- Another style representing a fontpublic java.lang.String getStyleName()