Class CAAT.Foundation.UI.InterpolatorActor
Extends
CAAT.Foundation.Actor.
Defined in: InterpolatorActor.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
This interpolatorĀ“s contour.
|
|
padding when drawing the interpolator.
|
|
The interpolator instance to draw.
|
|
Number of samples to calculate a contour.
|
- Fields borrowed from class CAAT.Foundation.Actor:
- __super, AABB, alpha, backgroundImage, behaviorList, cached, clip, clipPath, dirty, discardable, duration, expired, fillStyle, frameAlpha, gestureEnabled, glEnabled, height, id, inFrame, invalid, isAA, isCachedActor, isGlobalAlpha, lifecycleListenerList, minimumSize, modelViewMatrix, modelViewMatrixI, mouseEnabled, oldX, oldY, parent, pointed, preferredSize, preventLayout, rotationAngle, rotationX, rotationY, scaleAnchor, scaleTX, scaleTY, scaleX, scaleY, size_active, size_total, start_time, strokeStyle, tAnchorX, tAnchorY, time, viewVertices, visible, wdirty, width, worldModelViewMatrix, worldModelViewMatrixI, x, y
Method Attributes | Method Name and Description |
---|---|
Return the represented interpolator.
|
|
paint(director, time)
Paint this actor.
|
|
setGap(gap)
Sets a padding border size.
|
|
setInterpolator(interpolator, size)
Sets the CAAT.Interpolator instance to draw.
|
- Methods borrowed from class CAAT.Foundation.Actor:
- __init, __paintActor, __scale1To, __validateLayout, addAnimation, addBehavior, addListener, animate, cacheAsBitmap, centerAt, centerOn, clean, contains, create, destroy, disableDrag, drawScreenBoundingBox, emptyBehaviorList, enableDrag, enableEvents, endAnimate, findActorAtPosition, findActorById, fireEvent, gestureChange, gestureEnd, gestureStart, getAnchor, getAnchorPercent, getBehavior, getId, getMinimumSize, getPreferredSize, getTextureGLPage, glNeedsFlush, glSetShader, initialize, invalidate, invalidateLayout, isCached, isGestureEnabled, isInAnimationFrame, isVisible, modelToModel, modelToView, mouseClick, mouseDblClick, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseOut, mouseOver, mouseUp, moveTo, paintActor, paintActorGL, playAnimation, removeBehaviorById, removeBehaviour, removeListener, resetAnimationTime, resetAsButton, resetTransform, rotateTo, scaleTo, scaleXTo, scaleYTo, setAlpha, setAnimationEndCallback, setAnimationImageIndex, setAsButton, setBackgroundImage, setBackgroundImageOffset, setBounds, setButtonImageIndex, setCachedActor, setChangeFPS, setClip, setDiscardable, setExpired, setFillStyle, setFrameTime, setGestureEnabled, setGLCoords, setGlobalAlpha, setGlobalAnchor, setId, setImageTransformation, setLocation, setMinimumSize, setModelViewMatrix, setOutOfFrameTime, setPaint, setParent, setPosition, setPositionAnchor, setPositionAnchored, setPreferredSize, setPreventLayout, setRotation, setRotationAnchor, setRotationAnchored, setScale, setScaleAnchor, setScaleAnchored, setScreenBounds, setSize, setSpriteIndex, setStrokeStyle, setUV, setVisible, stopCacheAsBitmap, touchEnd, touchMove, touchStart, viewToModel
Field Detail
contour
This interpolatorĀ“s contour.
gap
padding when drawing the interpolator.
interpolator
The interpolator instance to draw.
S
Number of samples to calculate a contour.
Method Detail
{CAAT.Interpolator}
getInterpolator()
Return the represented interpolator.
- Returns:
- {CAAT.Interpolator}
paint(director, time)
Paint this actor.
- Parameters:
- director
- {CAAT.Director}
- time
- {number} scene time.
setGap(gap)
Sets a padding border size. By default is 5 pixels.
- Parameters:
- gap
- {number} border size in pixels.
- Returns:
- this
setInterpolator(interpolator, size)
Sets the CAAT.Interpolator instance to draw.
- Parameters:
- interpolator
- a CAAT.Interpolator instance.
- size
- an integer indicating the number of polyline segments so draw to show the CAAT.Interpolator instance.
- Returns:
- this