SVGSymbolInfo

Constructors

Link copied to clipboard
constructor(svg: String, anchorPoint: Point2D, symbolBounds: Rectangle2D, svgBounds: Rectangle2D)

Functions

Link copied to clipboard
open override fun getImageBounds(): Rectangle2D

Dimension of the entire image.

Link copied to clipboard
fun getSVG(): String
Link copied to clipboard
Link copied to clipboard
open override fun getSymbolBounds(): Rectangle2D

minimum bounding rectangle for the core symbol. Does not include modifiers, display or otherwise.

Link copied to clipboard
open override fun getSymbolCenterPoint(): Point2D

The point the image should be centered on or the "anchor point".

Link copied to clipboard
open override fun getSymbolCenterX(): int

The x value the image should be centered on or the "anchor point".

Link copied to clipboard
open override fun getSymbolCenterY(): int

The y value the image should be centered on or the "anchor point".