An SVG line tag.
Public Member Functions | |
SVGLineElement () | |
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... | |
Package Functions | |
override bool | BuildStroke (VectorPath path, RenderContext renderer) |
Renders the stroke of the SvgVisualElement to the specified ISvgRenderer More... | |
Properties | |
SVGAnimatedLength | x1 [get] |
Start x. More... | |
SVGAnimatedLength | y1 [get] |
Start y. More... | |
SVGAnimatedLength | x2 [get] |
Start x. More... | |
SVGAnimatedLength | y2 [get] |
Start y. More... | |
LineProvider | Line [get] |
The hosting shape as a line. More... | |
Css.Value | StartX [get, set] |
Css.Value | StartY [get, set] |
Css.Value | EndX [get, set] |
Css.Value | EndY [get, set] |
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 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 |
|
inlinepackagevirtual |
Renders the stroke of the SvgVisualElement to the specified ISvgRenderer
renderer | The ISvgRenderer object to render to. |
Reimplemented from Svg.SVGElement.
|
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.
|
getset |
|
getset |
|
getprivate |
The hosting shape as a line.
|
getset |
|
getset |
|
get |
Start x.
|
get |
Start x.
|
get |
Start y.
|
get |
Start y.