ImageBrush Class

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

Paints, or fills, an area with an image on a hardware display device.

Inheritance Hierarchy

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

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

Syntax

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

The ImageBrush type exposes the following members.

Constructors

  Name Description
Public method ImageBrush Initializes a new instance of the ImageBrush class with a specified image.

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 BitmapSource Specifies the bitmapped image that is used as the brush's paint, or fill.
Public field Stretch Specifies how an image extends (stretches) over the display area.

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