ISVGPropertyResolvingContext class

ISVGPropertyResolvingContext class

Represents a context for resolving SVG properties, extending the percent resolving context and property context.

The ISVGPropertyResolvingContext type exposes the following members:

Properties

PropertyDescription
parent_contextGets the parent property resolving context. See ISVGPropertyResolvingContext.
documentGets the document associated with the context. See ISVGPropertyResolvingContext.document.
view_cssGets the CSS view associated with the context. See IViewCSS.
elementGets the SVG element associated with the context. See ISVGPropertyResolvingContext.element.
style_declarationGets the CSS style declaration associated with the element. See ICSSStyleDeclaration.
in_text_elementGets or sets a value indicating whether the context is within a text element.
styleGets the resolved style declaration associated with the element. See IResolvedStyleDeclaration.
horizontal_resolutionGets the horizontal resolution of the context. See Resolution.
vertical_resolutionGets the vertical resolution of the context. See Resolution.
dr_factoryGets the drawing factory associated with the context. See IDrawingFactory.
is_filter_brushGets or sets a value indicating whether the context is using a filter brush.
viewportGets the IPercentResolvingContext.viewport associated with the percentage resolving context.

Methods

MethodDescription
get_absolute_bounding_boxGets the absolute bounding box of the element, optionally ignoring element transformations.
get_bounding_boxGets the bounding box of the element.
get_stroke_bounding_boxGets the bounding box of the element’s stroke.

See Also