Microsoft.SPOT.Presentation.Media Namespace

The Microsoft.SPOT.Presentation.Media namespace contains classes and enumerations that help you draw and manipulate images.

Classes

Name Description
Public Class Brush Paints, or fills, an area or shape on the screen.
Public Class Colors Provides a set of predefined colors for a hardware display device.
Public Class ColorUtility Provides a collection of methods for working with colors.
Public Class Constants Provides constants that are common to all types in the Media namespace.
Public Class DrawingContext Provides constructors, methods, and properties you can use to generate a drawing surface and create images on that surface.
Public Class ImageBrush Paints, or fills, an area with an image on a hardware display device.
Public Class LinearGradientBrush Paints, or fills, an area with a linear gradient of color on a hardware display device.
Public Class Pen Creates lines, curves, and outlines of shapes on a hardware display device.
Public Class SolidColorBrush Paints (fills) an area with a single, uniform color on a hardware display device.

Enumerations

Name Description
Public Enumeration Color Specifies colors for drawing or painting on a hardware display device.
Public Enumeration Stretch Specifies how an image is sized within its layout area on a hardware display device.
Public Enumeration TextAlignment Specifies the horizontal alignment of text with its layout area on a hardware display device.
Public Enumeration TextTrimming Specifies how characters from a string that does not completely fit into the specified layout area are to be trimmed.