Enum GradientUnits
Coordinate system to interpret gradient geometry.
public enum GradientUnits
Fields
ObjectBoundingBox = 0Coordinates are normalized to the painted geometry's bounds ([0, 1] in X and Y). The renderer will map these to the actual path bounds at paint time.
UserSpaceOnUse = 1Coordinates are absolute in the same space as the already-transformed geometry. Interpreters must pre-apply any gradient transforms before creating the paint.