Constructor

new (?target:InteractiveObject)

Variables

@:value(0.0)read onlycontentHeight:Float = 0.0

@:value(0.0)read onlycontentWidth:Float = 0.0

@:value(0.998)decelerationRate:Float = 0.998

@:value(false)read onlydraggingX:Bool = false

@:value(false)read onlydraggingY:Bool = false

@:value(Quart.easeOut)ease:IEasing = Quart.easeOut

@:value(true)elasticEdges:Bool = true

@:value(0.5)elasticSnapDuration:Float = 0.5

@:value(0.33)elasticity:Float = 0.33

@:value(0.95)friction:Float = 0.95

@:value(0.0)read onlymaxScrollX:Float = 0.0

@:value(0.0)read onlymaxScrollY:Float = 0.0

@:value(6.0)minDragDistance:Float = 6.0

@:value(0.0)read onlyminScrollX:Float = 0.0

@:value(0.0)read onlyminScrollY:Float = 0.0

@:value(ScrollPolicy.AUTO)scrollPolicyX:ScrollPolicy = ScrollPolicy.AUTO

@:value(ScrollPolicy.AUTO)scrollPolicyY:ScrollPolicy = ScrollPolicy.AUTO

@:value(0.0)scrollX:Float = 0.0

@:value(0.0)scrollY:Float = 0.0

@:value(false)read onlyscrolling:Bool = false

target:InteractiveObject

@:value(0.05)throwElasticity:Float = 0.05

@:value(0.0)read onlyvisibleHeight:Float = 0.0

@:value(0.0)read onlyvisibleWidth:Float = 0.0

Methods

setDimensions (?visibleWidth:Float, ?visibleHeight:Float, ?contentWidth:Float, ?contentHeight:Float):Void