|
override BoxRegion | Bounds [get] |
| Gets the bounds of the element. More...
|
|
static Loonim.TextureNode | TransparentFill [get] |
| Objects fill transparent by default. This is the fill handler. Initiated when first required. More...
|
|
ComputedStyle | ComputedStyle [get] |
| This nodes computed style. More...
|
|
RenderableData | RenderData [get] |
| This nodes render data. More...
|
|
override ElementStyle | style [get] |
| This elements style. More...
|
|
Css.ComputedStyle | computedStyle [get] |
| Gets the computed style of this element. More...
|
|
SVGFontElement | ParentFont [get] |
| The parent font element, if there is one. More...
|
|
BoxRegion | GroupBounds [get] |
| The combined bounds of the child nodes. More...
|
|
virtual BoxRegion | Bounds [get] |
| The bounds of this element. More...
|
|
virtual Loonim.TextureNode | Fill [get, set] |
| Gets or sets the fill. More...
|
|
virtual Loonim.TextureNode | Stroke [get, set] |
|
int | Visibility [get] |
| The VisibilityMode of this element. More...
|
|
SVGElement | ownerSVGElement [get] |
| The parent svg element. More...
|
|
virtual Css.Value | ClipPath [get, set] |
| Gets the associated SvgClipPath if one has been specified. More...
|
|
string | ClipRule [get, set] |
| Gets or sets the algorithm which is to be used to determine the clipping region. More...
|
|
virtual Css.Value | Filter [get, set] |
| Gets the associated SvgClipPath if one has been specified. More...
|
|
virtual float | Opacity [get] |
| Element opacity. More...
|
|
float | FillOpacity [get] |
| Fill opacity. More...
|
|
float | StrokeOpacity [get] |
| Stroke opacity. More...
|
|
float | StrokeWidth [get] |
| Stroke width. More...
|
|
int | StrokeLineCap [get] |
| Stroke line cap. More...
|
|
int | StrokeLineJoin [get] |
| Stroke line join. More...
|
|
Css.Value | StrokeDashOffset [get] |
| Stroke dash offset. More...
|
|
Css.Value | StrokeDashArray [get] |
| Stroke dash array. More...
|
|
float | StrokeMiterLimit [get] |
| Stroke-miterlimit. More...
|
|
string | FillRule [get] |
| Fill rule (e.g. nonzero). More...
|
|
virtual bool | IsSelfClosing [get] |
| True if this element is 'self closing' - i.e. the end tag can be omitted. More...
|
|
virtual bool | NonStandard [get] |
| True if this property is non-standard. More...
|
|
virtual float | DragStartDistance [get] |
| The minimum distance this element must be dragged in order to trigger a drag start event. More...
|
|
virtual bool | OkToBeOpenAfterBody [get] |
| True if this element is ok to be open when /body shows up. html is one example. More...
|
|
virtual bool | IsSpecial [get] |
| True if this element has special parsing rules. http://w3c.github.io/html/syntax.html#special More...
|
|
virtual bool | IsParserScope [get] |
| True if this element indicates being 'in scope'. http://w3c.github.io/html/syntax.html#in-scope More...
|
|
virtual bool | IsTableRowContext [get] |
| True if this element is a table row context. More...
|
|
virtual bool | IsTableBodyContext [get] |
| True if this element is a table body context. More...
|
|
virtual bool | IsTableContext [get] |
| True if this element is a table context. More...
|
|
virtual bool | IsTableStructure [get] |
| True if this element is part of table structure, except for td. More...
|
|
virtual ImplicitEndMode | ImplicitEndAllowed [get] |
| The mode used for an implicit end (see http://w3c.github.io/html/syntax.html#generate-implied-end-tags). More...
|
|
override string | textContent [get, set] |
|
string | outerHTML [get, set] |
| The html of this element including the element itself. More...
|
|
virtual string | innerHTML [get, set] |
| Gets or sets the innerHTML of this element. More...
|
|
virtual bool | Internal [get] |
| True if this tag is for internal use only. More...
|
|
string | PropertyString [get] |
| A string built from the properties only. More...
|
|
override string | nodeName [get] |
| The name for this type of node. More...
|
|
string | tagName [get] |
| The lowercase tag name. More...
|
|
override string | localName [get] |
| The local name of this node. More...
|
|
override ushort | nodeType [get] |
| The type of element that this is. More...
|
|
KeyboardEventDelegate | onkeyup [get, set] |
| Called when this element receives a keyup. More...
|
|
KeyboardEventDelegate | onkeydown [get, set] |
| Called when this element receives a keydown. More...
|
|
MouseEventDelegate | onmouseup [get, set] |
| Called when this element receives a mouseup. More...
|
|
MouseEventDelegate | onmouseout [get, set] |
| Called when this element receives a mouseout. More...
|
|
MouseEventDelegate | onmousedown [get, set] |
| Called when this element receives a mousedown. More...
|
|
MouseEventDelegate | onmousemove [get, set] |
| Called when this element receives a mousemove. Note that it must be focused. More...
|
|
MouseEventDelegate | onmouseover [get, set] |
| Called when this element receives a mouseover. More...
|
|
FormEventDelegate | onreset [get, set] |
| Called when a form is reset. More...
|
|
FormEventDelegate | onsubmit [get, set] |
| Called when a form is submitted. More...
|
|
UIEventDelegate | onload [get, set] |
| Called when this element receives a load event (e.g. iframe). More...
|
|
FocusEventDelegate | onfocus [get, set] |
| Called when this element gets focused. More...
|
|
FocusEventDelegate | onfocusin [get, set] |
| Called just before this element is focused. More...
|
|
FocusEventDelegate | onfocusout [get, set] |
| Called just before this element is blurred. More...
|
|
FocusEventDelegate | onblur [get, set] |
| Called when this element is unfocused (blurred). More...
|
|
MouseEventDelegate | onclick [get, set] |
| Called when this element receives a full click. More...
|
|
DomEventDelegate | onchange [get, set] |
| Used by e.g. input, select etc. Called when its value changes. More...
|
|
ContextMenus.ContextEventDelegate | oncontextmenu [get, set] |
| Called when this element receives a contextmenu request. More...
|
|
virtual Css.ElementStyle | style [get] |
| This elements style. More...
|
|
HtmlElement | htmlParentNode [get] |
| The parent as a HtmlElement (convenience method). More...
|
|
HtmlDocument | htmlDocument [get] |
| The ownerDocument as a Html document. More...
|
|
string | this[string property] [get, set] |
| Gets or sets the named attribute of this tag. An attribute is e.g. style="display:none;". More...
|
|
virtual bool | ClearBackground [get] |
| True if this node should clear the background state of the renderer. The background state essentially declares if this nodes background-color or background-image represents the viewports background. In HTML, both the body tag and root html tag can represent the background, so the root HTML node doesn't clear the state to allow body to set it if needed. So, only the root html element overrides this (and this is better than checking for .Tag=="html"). More...
|
|
override EventTarget | eventTargetParentNode [get] |
| The parent node as used by EventTarget during capture. Can be null. More...
|
|
Document | document [get] |
| The document that this node belongs to. More...
|
|
virtual string | nodeName [get] |
| The name for this type of node. More...
|
|
virtual string | nodeValue [get, set] |
| The value of this node. More...
|
|
virtual ushort | nodeType [get] |
| The type of element that this is. More...
|
|
Node | firstChild [get] |
| The first child of this element. More...
|
|
Node | lastChild [get] |
| The last child of this element. More...
|
|
Node | previousSibling [get] |
| The sibling before this one under this elements parent. Null if this is the first child. More...
|
|
Node | nextSibling [get] |
| The sibling following this one under this elements parent. Null if this is the last child. More...
|
|
Element | previousElementSibling [get] |
| The next non-text node sibling. More...
|
|
Element | nextElementSibling [get] |
| The next non-text node sibling. More...
|
|
virtual Document | ownerDocument [get] |
| The owner document. More...
|
|
virtual string | localName [get] |
| The local name of this node. More...
|
|
virtual string | baseURI [get] |
| The base URI. More...
|
|
string | namespaceURI [get] |
| The namespace this node is in. More...
|
|
string | innerText [get, set] |
| Gets or sets the text content of this element (i.e. the content without any html.). Setting this is good for preventing any html injection as it will be taken literally. More...
|
|
bool | isRooted [get] |
| True if this element is in any document and is rooted. More...
|
|
string | outerText [get, set] |
| Gets or sets the text content of this element (i.e. the content without any html.). Setting this is good for preventing any html injection as it will be taken literally. More...
|
|
virtual string | textContent [get, set] |
| Gets or sets the text content of this element (i.e. the content without any html.). Setting this is good for preventing any html injection as it will be taken literally. More...
|
|
Element | parentElement [get] |
| Gets the parent html element of this element. More...
|
|
string | prefix [get] |
| The prefix (namespace). More...
|
|
Node | rootNode [get] |
| The root node. More...
|
|
NodeList | childNodes [get] |
| The set of children of this element. More...
|
|
HTMLCollection | children [get] |
| The set of children elements. More...
|
|
int | sameNameIndex [get] |
| Gets the index of this element in it's parents childNodes in terms of child elements that have the same name (tag) as this one. More...
|
|
int | childIndex [get] |
| Gets the index of this element in it's parents childNodes. More...
|
|
int | childElementCount [get] |
| The number of child elements of this element. More...
|
|
int | childCount [get] |
| The number of children of this element. More...
|
|
Element | firstElementChild [get] |
| The first non-text child of this element. More...
|
|
Element | lastElementChild [get] |
| The last non-text child of this element. More...
|
|
string | id [get, set] |
| The ID of this element. Won't ever be null. More...
|
|
string | className [get, set] |
| The css class attribute of this element. Won't ever be null. Note that it can potentially hold multiple names, e.g. "red button". Use classList for those. More...
|
|
Node | parentNode [get] |
| This nodes parent node. More...
|
|
DOMTokenList | classList [get] |
| The set of class names. More...
|
|
static DispatchStack | dispatchStackRef [get] |
| The active dispatch stack. Use event.deepPath to access it (available during dispatch only). More...
|
|
virtual EventTarget | eventTargetParentNode [get] |
| The parent node as used by EventTarget during capture. Can be null. More...
|
|
virtual NodeList | eventTargetChildren [get] |
| The childNode set as used by EventTarget during capture. Can be null. More...
|
|
NodeList | childNodes [get] |
| The kids of this node. More...
|
|
Node | parentNode [get] |
| The parent node. More...
|
|
Element | parentElement [get] |
| The parent element. More...
|
|
int | childCount [get] |
| The number of kids of this node. More...
|
|
int | childElementCount [get] |
| The number of child elements of this parent. More...
|
|
HTMLCollection | children [get] |
| The kids of this node. More...
|
|
Element | firstElementChild [get] |
| The first element child of this node. More...
|
|
Element | lastElementChild [get] |
| The last element child of this node. More...
|
|
RenderableData | RenderData [get] |
| The box model for a node. More...
|
|
ComputedStyle | ComputedStyle [get] |
| The computed style. More...
|
|
|
| SVGElement () |
|
void | WentOffScreen () |
| Called when this element goes offscreen. More...
|
|
void | OnRender (Renderman renderer) |
| Called during a global render event on all elements. This knows exactly where the element is on screen. More...
|
|
void | GetWidthBounds (out float min, out float max) |
| Part of shrink-to-fit. Computes the maximum and minimum possible width for an element. More...
|
|
Element | querySelector (string selector) |
| Gets the first element which matches the given selector. More...
|
|
HTMLCollection | querySelectorAll (string selector) |
| Gets all child elements with the given tag. More...
|
|
HTMLCollection | querySelectorAll (string selector, bool one) |
| Gets all child elements with the given tag. More...
|
|
void | querySelectorAll (Selector[] selectors, INodeList results, CssEvent e, bool one) |
| Gets all child elements with the given tag. More...
|
|
virtual 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...
|
|
void | FontLoaded (DynamicFont font) |
| Called when a font-face is ready. More...
|
|
float | GetFloatAttribute (string property, float dflt) |
| Gets the value of the given property as a float. More...
|
|
SVGElement | TryResolveHref () |
| Finds the element by ID stored in this elements href attribute. More...
|
|
virtual void | BuildFilter (RenderContext ctx) |
|
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...
|
|
float | GetDecimal (Css.CssProperty property) |
| Resolves a float value. More...
|
|
int | GetInt (Css.CssProperty property) |
| Resolves an integer from the computed style. More...
|
|
virtual VectorPath | GetPath (SVGElement context, RenderContext renderer) |
| Gets the path this tag represents. Note that it can potentially be a clipping path. More...
|
|
static bool | PropertiesEqual (Dictionary< string, string > a, Dictionary< string, string > b) |
| True if two args sets are equal. More...
|
|
ElementStyle | Style |
| This elements style. More...
|
|
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...
|
|
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...
|
|
bool | SelfClosing |
| True if this tag closes itself and doesn't need an end ("/div" for example) tag. More...
|
|
static DispatchStack | PooledStack |
| The current head of the pooled dispatched stacks. More...
|
|