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,
SVGElementBase<?> parent,
SVGDocumentDataProvider dataProvider)
Creates a new instance of he element using the given attributes and the parent.
|
| Modifier and Type | Method and Description |
|---|---|
SVGAttributeTypeRectangle.SVGTypeRectangle |
createBoundingBox()
Returns this elements bounding rectangle, which contains the entire shape.
|
List<Double> |
getPoints()
Returns the list of points contained by the attributes.
|
initializeResultcanConsumeResult, endProcessing, processCharacterData, rememberElement, startProcessingcreateAndInitializeResult, createResult, getClipPath, getResult, getStyle, getStyleAndResolveInheritance, getTransformation, storeElementInDocumentDataProvidergetAttributeHolder, getAttributes, getDocumentDataProvider, getName, getParent, getUnmodifiableChildren, toStringprotected SVGPolyBase(String name, Attributes attributes, SVGElementBase<?> parent, SVGDocumentDataProvider dataProvider)
name - value of the elementattributes - attributes of the elementparent - parent 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.public SVGAttributeTypeRectangle.SVGTypeRectangle createBoundingBox() throws SVGException
SVGShapeBasecreateBoundingBox in class SVGShapeBase<TShape extends javafx.scene.shape.Shape>SVGException - when an error occurs during the creation of the bounding box.Copyright © 2016 Saxonia Systems AG. All rights reserved.