API Reference
Class
OfficeSvgPrimitiveWriter
Shared XML writer helpers for simple SVG primitives used by OfficeIMO renderers.
Inheritance
- Object
- OfficeSvgPrimitiveWriter
Methods
public static Void WriteCircle(XmlWriter writer, String svgNamespace, Double cx, Double cy, Double radius, OfficeColor color, Boolean fill, Double strokeWidth) #Returns:
VoidWrites a filled or stroked SVG circle.
Parameters
- writer System.Xml.XmlWriter
- svgNamespace System.String
- cx System.Double
- cy System.Double
- radius System.Double
- color OfficeIMO.Drawing.OfficeColor
- fill System.Boolean
- strokeWidth System.Double
public static Void WriteLine(XmlWriter writer, String svgNamespace, Double x1, Double y1, Double x2, Double y2, OfficeColor color, Double strokeWidth) #Returns:
VoidWrites a stroked SVG line with rounded line caps.
Parameters
- writer System.Xml.XmlWriter
- svgNamespace System.String
- x1 System.Double
- y1 System.Double
- x2 System.Double
- y2 System.Double
- color OfficeIMO.Drawing.OfficeColor
- strokeWidth System.Double
public static Void WritePath(XmlWriter writer, String svgNamespace, String data, OfficeColor color, Boolean fill, Double strokeWidth) #Returns:
VoidWrites a filled or stroked SVG path.
Parameters
- writer System.Xml.XmlWriter
- svgNamespace System.String
- data System.String
- color OfficeIMO.Drawing.OfficeColor
- fill System.Boolean
- strokeWidth System.Double
public static Void WriteRectangle(XmlWriter writer, String svgNamespace, Double x, Double y, Double width, Double height, OfficeColor color, Boolean fill, Double strokeWidth, Double cornerRadius = 0) #Returns:
VoidWrites a filled or stroked SVG rectangle.
Parameters
- writer System.Xml.XmlWriter
- svgNamespace System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- color OfficeIMO.Drawing.OfficeColor
- fill System.Boolean
- strokeWidth System.Double
- cornerRadius System.Double = 0
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object