SVG

Overview

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

SVG is the pre-parsed SVG document.

This class provides 2 methods for working with SVG objects in Go programs. Available methods include: Size, ViewBox. All exported members are accessible to any Go application after adding the package via go get github.com/aspose-pdf-foss/aspose-pdf-foss-for-go.

Methods

SignatureDescription
ViewBox()(x, y, w, h float64)If no viewBox is set, returns (0, 0, intrinsicWidth, intrinsicHeight).
Size()(width, height float64)element’s width and height attributes.

See Also