SvgDocument {Microsoft.VisualBasic.Imaging.SVG.XML} .NET clr documentation

SvgDocument

Description

SVG: Scalable Vector Graphics Scalable Vector Graphics (SVG) is an XML-based markup language for describing two-dimensional based vector graphics.

As such, it's a text-based, open Web standard for describing images that can be rendered cleanly at any size and are designed specifically to work well with other web standards including CSS, DOM, JavaScript, and SMIL. SVG is, essentially, to graphics what HTML is to text.

SVG images And their related behaviors are defined In XML text files, which means they can be searched, indexed, scripted, And compressed. Additionally, this means they can be created And edited With any text editor Or With drawing software.

Compared to classic bitmapped image formats such as JPEG Or PNG, SVG-format vector images can be rendered at any size without loss of quality And can be easily localized by updating the text within them, without the need of a graphical editor to do so. With proper libraries, SVG files can even be localized on-the-fly.

SVG has been developed by the World Wide Web Consortium (W3C) since 1999.

Declare

            
# namespace Microsoft.VisualBasic.Imaging.SVG.XML
export class SvgDocument extends SvgContainer {
   BackgroundFill: string;
   defs: SvgDefs;
   Fill: string;
   FillOpacity: double;
   filter: string;
   Height: Nullable`1;
   Id: string;
   lastElement: SvgElement;
   Stroke: string;
   StrokeDashArray: double;
   StrokeLineCap: SvgStrokeLineCap;
   StrokeOpacity: double;
   StrokeWidth: double;
   Style: string;
   TabIndex: Nullable`1;
   Tag: string;
   Transform: string;
   ViewBox: SvgViewBox;
   # get the canvas view size of the current svg document.
   ViewSize: Size;
   Visible: boolean;
   Width: Nullable`1;
   X: double;
   Y: double;
}

        

.NET clr type reference tree

  1. this class extends from SvgContainer class: SvgContainer
  2. use by property member defs: SvgDefs
  3. use by property member Height: Nullable`1
  4. use by property member lastElement: SvgElement
  5. use by property member StrokeLineCap: SvgStrokeLineCap
  6. use by property member TabIndex: Nullable`1
  7. use by property member ViewBox: SvgViewBox
  8. use by property member ViewSize: Size
  9. use by property member Width: Nullable`1

[Package {$package} version {$version} Index]