Enum CoordinateUnits
Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)
Specifies the coordinate system units for various SVG elements such as masks, paint servers, and filters.
[ComVisible(true)]
public enum CoordinateUnits
Fields
ObjectBoundingBox = 1
Uses the bounding box of the object for the SVG element.
When set to ‘objectBoundingBox’, coordinates and lengths are interpreted relative to the bounding box of the object. This allows for effects or transformations that scale automatically with the size of the object.
UserSpaceOnUse = 0
Uses the user coordinate system for the SVG element.
When set to ‘userSpaceOnUse’, coordinates and lengths are interpreted in the current user coordinate system. This is useful when you want to apply effects or transformations relative to the overall SVG canvas.
Remarks
The coordinate units determine how values are interpreted in different SVG contexts. They can be set to either use the user space coordinates or be relative to the bounding box of the object.