SvgDocument, SvgFragmentpublic class SvgContainer extends SvgGraphic
| Modifier and Type | Method | Description |
|---|---|---|
void |
apply(org.eclipse.swt.graphics.GC gc) |
Apply this svg graphic to the given graphics context.
|
SvgElement[] |
getElements() |
Returns an array of child elements contained by this container element.
|
boolean |
isEmpty() |
Returns true if this list contains no elements.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdgetDescription, getTitlepublic void apply(org.eclipse.swt.graphics.GC gc)
SvgGraphicNote that to support the rather abstract structure of svg, each time this method is called all transformations and css properties to be calculated and applied. If this is a shape, it will be painted to the graphics context. Containers will recursively make this call on their children.
apply in class SvgGraphicgc - the gc to use in all graphics operationspublic SvgElement[] getElements()
public boolean isEmpty()