SVG

Overview

SVG is a type in Aspose.PDF FOSS for Go.

SVG is the pre-parsed SVG document.

This type provides 2 methods for working with SVG objects in Go programs. Available methods include: Size, ViewBox. All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

Methods

SignatureDescription
ViewBox()(x, y, w, h float64)ViewBox returns the viewBox attribute as (x, y, width, height).
Size()(width, height float64)Size returns the intrinsic width and height as parsed from the root element’s width and height attributes.

See Also

 English