I

IVisibilityTestable

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.
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
false if 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 false.

Static Methods

static

Parameters

isVisible: function(ICanvasContext, Rect): boolean

Return Value

IVisibilityTestable