Skip to main content

ImmutableSolidColorBrush(Color, Double, ImmutableTransform) Constructor

Initializes a new instance of the ImmutableSolidColorBrush class.

Definition

Namespace: Avalonia.Media.Immutable
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public ImmutableSolidColorBrush(
Color color,
double opacity = 1,
ImmutableTransform? transform = null
)
View Source

Parameters

  Color
The color to use.
  Double  (Optional)
The opacity of the brush.
  ImmutableTransform  (Optional)
The transform of the brush.

See Also

Reference

ImmutableSolidColorBrush Class
ImmutableSolidColorBrush Overload
Avalonia.Media.Immutable Namespace