Skip to content

GradientBrushHelper.ResolveGradientLength method

Converts a gradient length from its declared units into user-space length. For ObjectBoundingBox the value is multiplied by objectExtent; otherwise it is returned unchanged.

public static double ResolveGradientLength(double value, GradientUnits units, double objectExtent)