FixImage Documentation
Back to summary
import "image/svg";
SVGImage class
SVG image.
Initialization
static function load(data: Byte[]): SVGImage
-
Loads the SVG image from given byte buffer.
static function parse(s: String): SVGImage
-
Loads the SVG image from given string.
Properties
function get_width(): Float
-
Returns the width of the image.
function get_height(): Float
-
Returns the height of the image.
Drawing
function draw(p: Painter)
-
Draws the image using the given painter.