A solid color, image or gradient fill. Defaults to no fill.
structSandbox.
sealedSandbox.Engine
Remarks
Gradients accept 2 to 8 stops ordered by offset in [0, 1]; equal offsets make hard transitions.
Colors interpolate in premultiplied sRGB. Vector2 points and absolute lengths use drawing coordinates;
percentages and calc expressions resolve from the shape's top-left against its width (X) and height (Y).
Gradient points must be finite and distinct; Auto and null are unsupported. Painter.Transform applies after resolution.