public class DrawFillHatch extends Object implements DrawFill, ObjectStyle
| Constructor and Description |
|---|
DrawFillHatch(String name,
Angle angle,
Color color,
Length distance) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEmbeddedStyles(StylesContainer stylesContainer)
Add the styles of this element to the styles container, in styles.xml/automatic-styles.
|
void |
addToElements(OdsElements odsElements)
Add this to OdsElements
|
void |
appendAttributes(XMLUtil util,
Appendable appendable) |
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
ObjectStyleFamily |
getFamily()
19.476 style:family
|
String |
getKey()
The identifier of this style is built on the name (19.498 style:name) and the family
|
String |
getName()
Get the name of this object.
|
boolean |
isHidden() |
public ObjectStyleFamily getFamily()
ObjectStylegetFamily in interface ObjectStylepublic String getKey()
ObjectStylegetKey in interface ObjectStylepublic void appendXMLContent(XMLUtil util, Appendable appendable) throws IOException
XMLConvertibleappendXMLContent in interface XMLConvertibleutil - a helper objectappendable - the appendable to append data toIOException - if the style can't be addedpublic void addToElements(OdsElements odsElements)
AddableToOdsElementsaddToElements in interface AddableToOdsElementsodsElements - the OdsElements instance where to add this.public boolean isHidden()
public String getName()
NamedObjectgetName in interface NamedObjectpublic void appendAttributes(XMLUtil util, Appendable appendable) throws IOException
appendAttributes in interface DrawFillIOExceptionpublic void addEmbeddedStyles(StylesContainer stylesContainer)
ElementWithEmbeddedStylesaddEmbeddedStyles in interface ElementWithEmbeddedStylesstylesContainer - the styles containerCopyright © 2016–2021. All rights reserved.