Class WpfDrawingContext
- Namespace
- SharpVectors.Renderers.Wpf
- Assembly
- SharpVectors.Rendering.Wpf.dll
public sealed class WpfDrawingContext : DependencyObject, IEnumerable<DrawingGroup>, IEnumerable
- Inheritance
-
WpfDrawingContext
- Implements
- Inherited Members
Constructors
Properties
- Count
Gets the number of elements contained in the drawing stack.
- DpiScaleX
Gets the DPI scale on the X axis.
- DpiScaleY
Gets the DPI scale on the Yaxis.
- PixelsPerDip
Get or sets the PixelsPerDip at which the text should be rendered.
- PixelsPerInchX
Gets the DPI along X axis.
- PixelsPerInchY
Gets the DPI along Y axis.
Methods
- Clear()
Removes all objects from the drawing stack.
- Contains(DrawingGroup)
Determines whether an element is in the drawing stack.
- CopyTo(DrawingGroup[], int)
Copies the drawing stack to an existing one-dimensional array, starting at the specified array index.
- GetEnumerator()
Returns an enumerator that iterates through the collection.
- Peek()
Returns the object at the top of the drawing stack without removing it.
- Pop()
Removes and returns the object at the top of the drawing stack.
- Push(DrawingGroup)
Inserts an object at the top of the drawing stack.
- ToArray()
Copies the drawing stack to a new array.
- TrimExcess()
Sets the capacity to the actual number of elements in the drawing stack, if that number is less than 90 percent of current capacity.