An SVG rect tag.
Public Member Functions | |
SVGRectangleElement () | |
override void | OnComputeBox (Renderman renderer, Css.LayoutBox box, ref bool widthUndefined, ref bool heightUndefined) |
Called during the box compute process. Useful if your element has clever dimensions, such as the img tag or words. More... | |
override bool | OnAttributeChange (string property) |
Called on an instance of this handler when an attribute on the element it's attached to changes. It's also called when the tag is being loaded. More... | |
Public Member Functions inherited from Svg.SVGGeometryElement | |
void | RebuildPath () |
override VectorPath | GetPath (SVGElement context, RenderContext renderer) |
Gets the path this tag represents. Note that it can potentially be a clipping path. More... | |
Properties | |
RectangleProvider | Rectangle [get] |
The hosting shape as a rectangle. More... | |
Css.Value | X [get, set] |
Css.Value | Y [get, set] |
Css.Value | CornerRadiusX [get, set] |
Css.Value | CornerRadiusY [get, set] |
Css.Value | Width [get] |
Css.Value | Height [get] |
Properties inherited from Svg.SVGGeometryElement | |
override BoxRegion | Bounds [get] |
Gets the bounds of the element. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Dom.Node | |
static bool | PropertiesEqual (Dictionary< string, string > a, Dictionary< string, string > b) |
True if two args sets are equal. More... | |
Public Attributes inherited from Svg.SVGGeometryElement | |
ShapeProvider | Shape |
The loaded path. More... | |
Protected Member Functions inherited from Svg.SVGElement | |
void | BuildChildren (RenderContext renderer) |
Renders the child nodes of this tag. More... | |
virtual void | PopTransforms (RenderContext renderer) |
virtual bool | PushTransforms (RenderContext renderer) |
bool | BuildStrokeMarkers (VectorPath path, RenderContext renderer) |
Renders a stroke with markers. More... | |
virtual void | SetClip (RenderContext renderer) |
Sets the clipping region of the specified RenderContext. More... | |
VectorPath | GetPaths (Node parent, RenderContext renderer) |
Adds all child paths together. More... | |
void | AddChildPaths (Node parent, VectorPath bakeInto, RenderContext renderer, Matrix4x4 extraTransform, bool applyExtra) |
Adds all child paths together. More... | |
virtual void | ResetClip (RenderContext renderer) |
Resets the clipping region of the specified RenderContext back to where it was before the SetClip method was called. More... | |
Package Functions inherited from Svg.SVGElement | |
virtual void | BuildFill (VectorPath path, RenderContext renderer) |
Renders the fill of the SvgVisualElement to the specified RenderContext More... | |
virtual bool | BuildStroke (VectorPath path, RenderContext renderer) |
Renders the stroke of the SvgVisualElement to the specified RenderContext More... | |
Package Attributes inherited from Dom.Element | |
bool | SelfClosing |
True if this tag closes itself and doesn't need an end ("/div" for example) tag. More... | |
Static Package Attributes inherited from Dom.EventTarget | |
static DispatchStack | PooledStack |
The current head of the pooled dispatched stacks. More... | |
|
inline |
|
inlinevirtual |
Called on an instance of this handler when an attribute on the element it's attached to changes. It's also called when the tag is being loaded.
attribute | The attribute that changed. |
Reimplemented from Svg.SVGElement.
|
inlinevirtual |
Called during the box compute process. Useful if your element has clever dimensions, such as the img tag or words.
Reimplemented from Svg.SVGElement.
|
getset |
|
getset |
|
getprivate |
|
getprivate |
The hosting shape as a rectangle.
|
getprivate |
|
getset |
|
getset |