PaintBuilder.PaintServerId

PaintBuilder.PaintServerId method

Sets the paint to a paint server (like a gradient or pattern) with an optional fallback color.

public PaintBuilder PaintServerId(string paintServerId, Color? fallbackColor = default)
ParameterTypeDescription
paintServerIdStringThe ID of the paint server.
fallbackColorNullable`1Optional fallback color if the paint server is not available.

Return Value

The builder instance for chaining.

See Also