TShape - the type of shape this element createspublic abstract class SVGPolyBase<TShape extends javafx.scene.shape.Shape> extends SVGShapeBase<TShape>
| Modifier | Constructor and Description |
|---|---|
protected |
SVGPolyBase(String name,
Attributes attributes,
SVGDocumentDataProvider dataProvider)
Creates a new instance of he element using the given attributes and the parent.
|
| Modifier and Type | Method and Description |
|---|---|
protected SVGAttributeTypeRectangle.SVGTypeRectangle |
createBoundingBox(TShape shape)
Returns the bounding box of the given shape
|
List<Double> |
getPoints()
Returns the list of points contained by the attributes.
|
initializeResultkeepElement, processCharacterDatacreateAndInitializeResult, createResult, endProcessing, getResult, getTransformation, startProcessinggetAttributeHolder, getAttributes, getDocumentDataProvider, getName, getUnmodifiableChildren, toStringprotected SVGPolyBase(String name, Attributes attributes, SVGDocumentDataProvider dataProvider)
name - value of the elementattributes - attributes of the elementdataProvider - dataprovider to be usedpublic final List<Double> getPoints() throws SVGException
SVGException - if any of the points in the corresponding attribute does not provide x and y position.protected SVGAttributeTypeRectangle.SVGTypeRectangle createBoundingBox(TShape shape) throws SVGException
SVGShapeBasecreateBoundingBox in class SVGShapeBase<TShape extends javafx.scene.shape.Shape>shape - the Shape to use.SVGAttributeTypeRectangle.SVGTypeRectangle.SVGException - if an error occurs during creation of the bounding box.Copyright © 2017 Saxonia Systems AG. All rights reserved.