| Microsoft.Graphics.Canvas Namespace |
| Class | Description | |
|---|---|---|
| CanvasActiveLayer | Layers can change opacity, apply opacity masks, or clip a group of drawing operations. | |
| CanvasBitmap | A bitmap is a 2D grid of pixels that form an image. | |
| CanvasCommandList | A list of commands that can be recorded and used anywhere an image can be used. | |
| CanvasDevice | Devices are used to create graphics resources and drawing sessions.
Most apps should use the CanvasControl wrapper instead of directly managing their own CanvasDevice. | |
| CanvasDrawingSession | Drawing sessions are used to issue graphics drawing commands. This is the main way to draw things onto a canvas. | |
| CanvasImage | Static operations that can be applied to all ICanvasImage instances. | |
| CanvasLock | Locks the device until disposed. | |
| CanvasRenderTarget | A rendertarget is a bitmap that can be drawn onto. | |
| CanvasSpriteBatch | [Win10_10586] Efficiently draws multiple bitmaps. | |
| CanvasSwapChain | A swap chain is a series of buffers that can be drawn to and presented to the screen. | |
| CanvasVirtualBitmap | Loads a bitmap that may be larger than the maximum size of a CanvasBitmap. |
| Interface | Description | |
|---|---|---|
| ICanvasImage | Abstract interface representing anything that stores or is able to create a 2D image.
This can be a CanvasBitmap,
command list, or image processing effect. | |
| ICanvasResourceCreator |
Represents any object that can create graphics resources. Implemented by
CanvasControl,
CanvasDevice, and
CanvasDrawingSession.
| |
| ICanvasResourceCreatorWithDpi |
Represents an object that can create graphics resources, and which has a specific DPI. Implemented by
CanvasControl and
CanvasDrawingSession.
|
| Enumeration | Description | |
|---|---|---|
| CanvasAlphaMode | Specifies the way in which an alpha channel affects color channels. | |
| CanvasAntialiasing | Specifies the antialiasing mode for non-text primitives. | |
| CanvasBitmapFileFormat | This denotes the format used when saving a bitmap to a file. | |
| CanvasBlend | Specifies the blend mode used to draw primitives. | |
| CanvasBufferPrecision | Specifies the bit depth used for graphical computations. | |
| CanvasColorSpace | Specifies options that should be applied to the color space. | |
| CanvasComposite | The composite mode used for the effect. | |
| CanvasDebugLevel | Indicates the type of information provided when the Direct2D Debug Layer is enabled. | |
| CanvasDpiRounding | Specifies the rounding behavior while performing dips-to-pixels conversions. | |
| CanvasEdgeBehavior | Specifies the way in which a brush paints areas outside its typical content region. | |
| CanvasImageInterpolation | Specifies the quality used for image resizing and transforms. | |
| CanvasLayerOptions | Advanced options specifying how layer contents should be prepared. | |
| CanvasSpriteFlip | [Win10_10586] Controls the optional flipping of a sprite. | |
| CanvasSpriteOptions | [Win10_10586] Options that apply to the entire spritebatch. | |
| CanvasSpriteSortMode | [Win10_10586] Controls how the sprites in a sprite batch are sorted. | |
| CanvasSwapChainRotation | Specifies the rotation of a swap chain. | |
| CanvasUnits | Specifies what units coordinates are in. This is important for making sure
everything stays in the right place when running on high DPI devices. | |
| CanvasVirtualBitmapOptions | Options passed to CanvasVirtualBitmap.LoadAsync. |