ISVGPropertyResolvingContext Interface
Contents
[
Hide
]ISVGPropertyResolvingContext interface
Represents a context for resolving SVG properties, extending the percent resolving context and property context.
public interface ISVGPropertyResolvingContext : IPercentResolvingContext
Properties
Name | Description |
---|---|
Document { get; } | Gets the document associated with the context. See Document . |
DrFactory { get; } | Gets the drawing factory associated with the context. See IDrawingFactory . |
Element { get; } | Gets the SVG element associated with the context. See Element . |
HorizontalResolution { get; } | Gets the horizontal resolution of the context. See Resolution . |
InTextElement { get; set; } | Gets or sets a value indicating whether the context is within a text element. |
IsFilterBrush { get; set; } | Gets or sets a value indicating whether the context is using a filter brush. |
ParentContext { get; } | Gets the parent property resolving context. See ISVGPropertyResolvingContext . |
Style { get; } | Gets the resolved style declaration associated with the element. See IResolvedStyleDeclaration . |
StyleDeclaration { get; } | Gets the CSS style declaration associated with the element. See ICSSStyleDeclaration . |
VerticalResolution { get; } | Gets the vertical resolution of the context. See Resolution . |
ViewCSS { get; } | Gets the CSS view associated with the context. See IViewCSS . |
Methods
Name | Description |
---|---|
GetAbsoluteBoundingBox(bool) | Gets the absolute bounding box of the element, optionally ignoring element transformations. |
GetBoundingBox() | Gets the bounding box of the element. |
GetStrokeBoundingBox() | Gets the bounding box of the element’s stroke. |
TryGetHrefAsByteArray(Url, Size, out byte[], out WebImageFormat, CancellationToken) | Tries to get the HREF as a byte array, with the specified size, format, and cancellation token. |
See Also
- interface IPercentResolvingContext
- namespace Aspose.Svg.Rendering.Styles
- assembly Aspose.SVG