Constructors
MessagingSkin
#public MessagingSkin(Color info, Color warning, Color error)
Create a new message skin.
Parameters:
| info (Color) | Colour associated with info messages. |
| warning (Color) | Colour associated with warning messages. |
| error (Color) | Colour associated with error messages. |
Fields
Properties
Methods
Fade
#Multiply the alpha value colours in this skin with the given factor.
Parameters:
| factor (float) | Fading factor. 0=fully transparent, 1=no change. |
Returns: Modified skin.
GetBrush
#Create a brush for filling messaging regions. If all three states are 'false', no brush will be returned. It is the responsibility of the caller to dispose of the brushes.
Parameters:
| info (bool) | If true, info colours will be included in the brush. |
| warning (bool) | If true, warning colours will be included in the brush. |
| error (bool) | If true, error colours will be included in the brush. |
| anchor (PointF = null) | If the returned brush is a texture brush, the texture origin will be at the anchor. |