public class DrawFrame extends Object implements Shape
| 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 |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
static DrawFrameBuilder |
builder(String name,
FrameContent content,
SVGRectangle rectangle)
Create a new builder
|
public static DrawFrameBuilder builder(String name, FrameContent content, SVGRectangle rectangle)
name - the name of the framecontent - the content of the framerectangle - the frame coordinatespublic 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 addEmbeddedStyles(StylesContainer stylesContainer)
ElementWithEmbeddedStylesaddEmbeddedStyles in interface ElementWithEmbeddedStylesstylesContainer - the styles containerCopyright © 2016–2021. All rights reserved.