public class DXFStyle extends Object implements DXFObject
Constructor and Description |
---|
DXFStyle(Typeface androidFont)
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.
|
String |
getStyleName()
Get the name (integer identifier) for this style object, for use within a DXFText entity.
|
String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the text style.
|
public DXFStyle(Typeface androidFont)
androidFont
- Font whose parameters (size, style, typeface) should be represented in the style objectpublic String toDXFString()
toDXFString
in interface DXFObject
public boolean equals(DXFStyle other)
other
- Another style representing a fontpublic String getStyleName()