Divooka.SVG

Divooka.SVG.SVGDesign

Provides a procedural SVG creation. This targets SVG DOM, and can be rendered either as (exported) SVG or directly using SkiaSharp.

Divooka.SVG.BaseElement.LocalBounds

The actual box bound of the element related to its parent.

Divooka.SVG.BaseElement.GlobalBounds

The actual box bound of the element related to its root ancestor.

Divooka.SVG.BaseElement.Translation

The offset applied to the element related to its parent.

Divooka.SVG.BaseElement.Bounds

The box bound of the element related to itself. This is independent of the translation and is defined by derived classes.

Divooka.SVG.BaseElement.DOMName

The DOM element name.

Divooka.SVG.BaseElement.DOMAttributes

The DOM element attributes.

Divooka.SVG.BaseElement.Indentation

The indentation character used to generate SVG document.

Divooka.SVG.BaseElement.Translate()

Translates this element by the given offset.

Divooka.SVG.BaseElement.Translate()

Translates this element by the given offset.

Divooka.SVG.BaseElement.MakeCopy

Makes a deep copy of the element.

Divooka.SVG.BaseElement.ElementBody()

Builds the body of the element.

Divooka.SVG.EmptyElement

An empty element that does not render anything and won't appear in SVG output. Useful for anchoring for other elements.

Divooka.SVG.SVGGraphics

A DOM for SVG

Remarks

If we consolidate this with Zora.Drawing, then this DOM will be a subset of Zora drawing DOM.

Divooka.SVG.SVGGraphics.Width

Overwrites the width attribute of the SVG if not null, otherwise uses the local bounds.

Divooka.SVG.SVGGraphics.Height

Overwrites the height attribute of the SVG if not null, otherwise uses the local bounds.

Divooka.SVG.SVGGraphics.ReadSVG()

Remarks

Parsing using a state machine.