TShape - the type of shape this element createspublic abstract class SVGPolyBase<TShape extends javafx.scene.shape.Shape> extends SVGShapeBase<TShape>
SVGElementBase.CoreAttribute, SVGElementBase.Matrix, SVGElementBase.XLinkAttribute| Constructor and Description |
|---|
SVGPolyBase(String name,
Attributes attributes,
SVGElementBase<?> parent,
SVGDataProvider dataProvider)
Creates a new instance of he element using the given attributes and the parent.
|
| Modifier and Type | Method and Description |
|---|---|
List<Double> |
getPoints()
Returns the list of points contained by the attributes.
|
initializeResultcreateAndInitializeResult, createAndInitializeResult, createResult, endProcessing, getClipPath, getClipPath, getCssStyle, getCssStyleAndResolveInheritance, getCssStyleAndResolveInheritance, getOwnStyle, getPresentationCssStyle, getReferencedStyle, getResult, getResult, getTransformation, processCharacterData, startProcessinggetAttribute, getAttributes, getChildren, getDataProvider, getName, getParent, toStringpublic SVGPolyBase(String name, Attributes attributes, SVGElementBase<?> parent, SVGDataProvider dataProvider)
name - value of the elementattributes - attributes of the elementparent - parent of the elementdataProvider - dataprovider to be usedpublic final List<Double> getPoints() throws SVGException, IllegalArgumentException
SVGException - if any of the points in the corresponding attribute does not provide x and y position.IllegalArgumentException - if any of the points in the corresponding attribute does not provide x and y position.Copyright © 2016 Saxonia Systems AG. All rights reserved.