createGradientBrush
protected open override fun createGradientBrush(target: List<PathNodes>): ComposeBrush.Gradient.Linear(source)
Creates a Compose gradient brush specific to the concrete gradient type.
Return
a Compose gradient brush configured with the appropriate gradient properties, colour stops, transformations, and spread method for the specific gradient type
Parameters
target
the list of path nodes representing the shape to which the gradient will be applied, used for calculating gradient coordinates when gradientUnits is "objectBoundingBox"