Svg.SVGCircleElement Class Reference

Detailed Description

An SVG circle tag.

Inheritance diagram for Svg.SVGCircleElement:
Svg.SVGGeometryElement Svg.SVGGraphicsElement Svg.SVGElement Dom.Element Css.IRenderableNode Dom.Node Dom.EventTarget Dom.IParentNode Dom.IEventTarget

Public Member Functions

 SVGCircleElement ()
 
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

SVGAnimatedLength cx [get]
 Center x. More...
 
SVGAnimatedLength cy [get]
 Center y. More...
 
SVGAnimatedLength r [get]
 Radius. More...
 
CircleProvider Circle [get]
 The hosting shape as a circle. More...
 
Css.Value Radius [get, set]
 
Css.Value CenterX [get, set]
 
Css.Value CenterY [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 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...
 

Constructor & Destructor Documentation

Svg.SVGCircleElement.SVGCircleElement ( )
inline

Member Function Documentation

override bool Svg.SVGCircleElement.OnAttributeChange ( string  attribute)
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.

Parameters
attributeThe attribute that changed.

Reimplemented from Svg.SVGElement.

Property Documentation

Css.Value Svg.SVGCircleElement.CenterX
getset
Css.Value Svg.SVGCircleElement.CenterY
getset
CircleProvider Svg.SVGCircleElement.Circle
getprivate

The hosting shape as a circle.

SVGAnimatedLength Svg.SVGCircleElement.cx
get

Center x.

SVGAnimatedLength Svg.SVGCircleElement.cy
get

Center y.

SVGAnimatedLength Svg.SVGCircleElement.r
get

Radius.

Css.Value Svg.SVGCircleElement.Radius
getset