Back to top OpenSVG (c) Veridict AB, www.veridict.com

Namespace OpenSvg

Classes

CircularArc

A class for creating circular arcs represented as a specified number of equidistant points

ColorExtensions

Provides extension methods for SKColor to support hexadecimal color codes.

CommonTypeExtensions

Contains common type extension methods.

Constants
ConvexHull

Represents a convex hull of points. Provides specialized methods for manipulating and querying convex hulls.

EnclosedPolygonGroup

Represents a group of polygons where the exterior polygon encloses all interior polygons. All the polygons in the group must be disjoint. A typical use case of this class is to represent a polygon with holes inside it, where the exterior polygon is the outer boundary and the interior polygons are the holes.

FileIO

Provides utility methods for file input/output operations.

MultiPolygon

Represents a collection of enclosed polygon groups.

Path

Represents a graphical path

PointCollectionExtensions

Provides extension methods for working with collections of Vector2 objects.

PointComparer

Provides a default comparer for Vector2 objects.

PointExtensions

Provides extension methods for manipulating points.

PointList

Represents a sequence of points. Provides methods for generating bounding boxes and translating polylines using a specified transform.

Polygon

Represents a polygon of points. Provides methods for generating bounding boxes and translating polygons using a specified transform.

Polyline

Represents a polyline of points. Provides methods for generating bounding boxes and translating polylines using a specified transform.

SkiaSharpExtensions

Extension methods for SkiaSharp types

SvgNames

This class contains string constants for all the names for SVG elements and attributes

Structs

AbsoluteOrRatio

Represents a value that can be either an absolute value or a ratio.

BoundingBox

Represents a bounding box defined by two points: the upper left and the lower right.

Size

A rectangular size in a pixel coordinate system.

Transform

Represents a 2D transformation matrix applied to graphical elements.

Enums

ConvexHull.SkipGrahamsScan
FileFormat
HorizontalAlignment

Specifies the horizontal alignment of a SvgVisual element relative to a reference element. Used by AlignRelativeTo(SvgVisual, HorizontalAlignment?, VerticalAlignment?).

Orientation

A type to define horizontal or vertical orientation

PointRelation

The PointRelation enumeration describes the spatial relationship between a point and a polygon. The relationships are defined based on the position of the point in relation to the vertices and edges of the polygon. If a point coincides with a vertex of the polygon or lies directly on an edge, it is considered to be Inside the polygon.

PolygonRelation

Enumerates the types of spatial relationships between two polygons, A and B, based on the positions of their vertices.

RectangleRenderMode

Defines how rectangles should be rendered in SVG Use SvgPolygon to be able to convert rectangle to GeoJson

TextRenderMode

Defines how text should be rendered in SVG

VerticalAlignment

Specifies the vertical alignment of a SvgVisual element relative to a reference element. Used by AlignRelativeTo(SvgVisual, HorizontalAlignment?, VerticalAlignment?).