ShapeRenderer class

ShapeRenderer class

Provides methods to render an individual Shape or GroupShape to a raster or vector image or to a Graphics object. To learn more, visit the Working with Shapes documentation article.

Inheritance: ShapeRendererNodeRendererBase

Constructors

NameDescription
ShapeRenderer(shape)Initializes a new instance of this class.

Properties

NameDescription
boundsInPoints2
(Inherited from NodeRendererBase)
opaqueBoundsInPoints2
(Inherited from NodeRendererBase)
sizeInPoints2
(Inherited from NodeRendererBase)

Methods

NameDescription
getBoundsInPixels2(scale, dpi)
(Inherited from NodeRendererBase)
getBoundsInPixels2(scale, horizontalDpi, verticalDpi)
(Inherited from NodeRendererBase)
getOpaqueBoundsInPixels2(scale, dpi)
(Inherited from NodeRendererBase)
getOpaqueBoundsInPixels2(scale, horizontalDpi, verticalDpi)
(Inherited from NodeRendererBase)
save(fileName, saveOptions)Renders the shape into an image and saves into a file.
(Inherited from NodeRendererBase)
save(fileName, saveOptions)Renders the shape into an SVG image and saves into a file.
(Inherited from NodeRendererBase)
save(stream, saveOptions)Renders the shape into an image and saves into a stream.
(Inherited from NodeRendererBase)
save(stream, saveOptions)Renders the shape into an SVG image and saves into a stream.
(Inherited from NodeRendererBase)

See Also