The class also has an IsTransparent property that returns a bool that represents whether the color has an alpha value of less than 1. The SolidPaint class defines a Color property, of type Color, which represents the color of the paint. The SolidPaint class, that's derived from the Paint class, is used to paint a graphical object with a solid color. The Paint class also defines BackgroundColor, and ForegroundColor properties, of type Color, that can be used to optionally define background and foreground colors for a Paint object. Instances of these types can be painted on an ICanvas, typically by using the SetFillPaint method to set the paint as the fill of a graphical object. For more information, see Paint a gradient. GradientPaint, which paints an object with a gradient.For more information, see Paint a pattern.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |