Einhugur SVG Plugin for Xojo

EinhugurSVG.Image Class

Class representing SVG Image.

Object
   Image

class EinhugurSVG.Image

Constructors

ImageConstructor which takes FolderItem reference to SVG file.
ImageConstructor which takes SVG data contained in a String.

Properties

BoxReturns the smallest rectangle in which the document fits.
HeightWidth of the SVG image.
RootReturns the root of the SVG model as LayoutSymbol.
WidthHeight of the SVG image.

Methods

RenderIntoRenders the SVG image into existing RawBitmap object.
RenderIntoRenders the SVG image into existing RawBitmap object. This variation also recolours single color SVG’s.
RotateRotates the image by given amount of degrees, using top left as origin of the rotation.
RotateRotates the image by given amount of degrees taking in cx and cy parameters to determine centre point of the rotation.
ToRawBitmapCreates suitable RawBitmap object and renders the SVG image into the bitmap.
ToRawBitmapCreates suitable RawBitmap object and renders the SVG image into the bitmap. This variation also recolours single color SVG’s.

Supported Platforms:

  • macOS Intel 32 bit
  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS