Color Constructor (Color, NullableSingle) |
Initializes a new instance of the Color object as a copy of the specified color
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public Color(
Color color,
Nullable<float> alpha = null
)
Public Sub New (
color As Color,
Optional alpha As Nullable(Of Single) = Nothing
)
new :
color : Color *
?alpha : Nullable<float32>
(* Defaults:
let _alpha = defaultArg alpha null
*)
-> Color
Parameters
- color
- Type: Eto.DrawingColor
Color to copy - alpha (Optional)
- Type: SystemNullableSingle
Alpha to use for the new color, or null to use the alpha component from color
See Also