SolidColorBrush Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Paints (fills) an area with a single, uniform color on a hardware display device.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.Presentation.Media. . :: . .Brush
    Microsoft.SPOT.Presentation.Media..::..SolidColorBrush

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public NotInheritable Class SolidColorBrush _
    Inherits Brush
public sealed class SolidColorBrush : Brush
public ref class SolidColorBrush sealed : public Brush
[<Sealed>]
type SolidColorBrush =  
    class
        inherit Brush
    end
public final class SolidColorBrush extends Brush

The SolidColorBrush type exposes the following members.

Constructors

  Name Description
Public method SolidColorBrush Initializes a new instance of the SolidColorBrush class with a specified color for the brush's paint, or fill.

Top

Properties

  Name Description
Public property Opacity Specifies the degree of opacity of the brush's paint or fill. (Inherited from Brush.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method RenderEllipse Renders an ellipse. (Inherited from Brush.)
Protected method RenderPolygon Renders a polygon. (Inherited from Brush.)
Protected method RenderRectangle Renders a rectangle. (Inherited from Brush.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public field Color Specifies the color for the brush's paint, or fill.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT.Presentation.Media Namespace