public static Brush CreateSolid(
Color32 color
)Public Shared Function CreateSolid (
color As Color32
) As Brushpublic:
static Brush^ CreateSolid(
Color32 color
)static member CreateSolid :
color : Color32 -> Brush Though a solid brush generally uses a single color, filling a Path or a directly supported simple shape may use more colors if DrawingOptions.AntiAliasing is , or when color has alpha (transparency), and DrawingOptions.AlphaBlending is .
If the color has alpha and DrawingOptions.AlphaBlending is , the color space used for blending is determined by the specified Quantizer, or, when it is , by the WorkingColorSpace of the target IReadWriteBitmapData.
The following image was created with a solid brush created from 50% transparent blue color, and DrawingOptions.AlphaBlending was ,
whereas the target bitmap data had Linear working color space:
