Interface that is implemented for elements that can determine whether they might be visible in a given clipping rectangle.
Inheritance Hierarchy
Members
No filters for this type
Methods
Determines whether an element might intersect the visible region for a given context.
Determines whether an element might intersect the visible region for a given context.
Conservative implementations can always return
true.abstract
Parameters
- context: ICanvasContext
- The context to determine the visibility for.
- rectangle: Rect
- The visible region clip.
Return Value
- boolean
falseif and only if it is safe not to render the element because it would not affect the given clipping region.
Constants
An implementation of a IVisibilityTestable that always yields true.
An implementation of a IVisibilityTestable that always yields
true.An implementation of a IVisibilityTestable that always yields false.
An implementation of a IVisibilityTestable that always yields
false.