Renderable nodes.
Public Member Functions | |
| void | OnComputeBox (Renderman renderer, LayoutBox box, ref bool widthUndefined, ref bool heightUndefined) |
| Called whilst a CSS box is being recomputed. More... | |
| void | FontLoaded (PowerUI.DynamicFont font) |
| Called when a font-face font loads. 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 | WentOffScreen () |
| Called when an element is no longer on the screen. 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... | |
| void | GetWidthBounds (out float min, out float max) |
| Part of shrink-to-fit. Computes the maximum and minimum possible width for an element. More... | |
Properties | |
| RenderableData | RenderData [get] |
| The box model for a node. More... | |
| ComputedStyle | ComputedStyle [get] |
| The computed style. More... | |
| void Css.IRenderableNode.FontLoaded | ( | PowerUI.DynamicFont | font) |
Called when a font-face font loads.
Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.
| void Css.IRenderableNode.GetWidthBounds | ( | out float | min, |
| out float | max | ||
| ) |
Part of shrink-to-fit. Computes the maximum and minimum possible width for an element.
Implemented in PowerUI.RenderableTextNode, MathML.MathElement, Svg.SVGElement, Css.SparkInformerNode, and Speech.SpeechElement.
| void Css.IRenderableNode.OnComputeBox | ( | Renderman | renderer, |
| LayoutBox | box, | ||
| ref bool | widthUndefined, | ||
| ref bool | heightUndefined | ||
| ) |
Called whilst a CSS box is being recomputed.
| void Css.IRenderableNode.OnRender | ( | Renderman | renderer) |
Called during a global render event on all elements. This knows exactly where the element is on screen.
Implemented in PowerUI.RenderableTextNode, Speech.SpeechElement, MathML.MathElement, Svg.SVGElement, and Css.SparkInformerNode.
| Element Css.IRenderableNode.querySelector | ( | string | selector) |
Gets the first element which matches the given selector.
Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.
| HTMLCollection Css.IRenderableNode.querySelectorAll | ( | string | selector) |
Gets all child elements with the given tag.
| selector | The selector string to match. |
Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.
| HTMLCollection Css.IRenderableNode.querySelectorAll | ( | string | selector, |
| bool | one | ||
| ) |
Gets all child elements with the given tag.
| selector | The selector string to match. |
Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.
| void Css.IRenderableNode.querySelectorAll | ( | Selector[] | selectors, |
| INodeList | results, | ||
| CssEvent | e, | ||
| bool | one | ||
| ) |
Gets all child elements with the given tag.
| selectors | The selectors to match. |
Implemented in MathML.MathElement, Speech.SpeechElement, PowerUI.RenderableTextNode, Svg.SVGElement, and Css.SparkInformerNode.
| void Css.IRenderableNode.WentOffScreen | ( | ) |
Called when an element is no longer on the screen.
Implemented in PowerUI.RenderableTextNode, Speech.SpeechElement, Css.SparkInformerNode, MathML.MathElement, and Svg.SVGElement.
|
get |
The computed style.
|
get |
The box model for a node.