Builder

class Builder

Builder class to create BalloonRotateAnimation.

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): BalloonRotateAnimation
setDegreeX
Link copied to clipboard
fun setDegreeX(degreeX: Int): BalloonRotateAnimation.Builder
sets the degree X of the rotation animation.
setDegreeZ
Link copied to clipboard
fun setDegreeZ(degreeZ: Int): BalloonRotateAnimation.Builder
sets the degree Y of the rotation animation.
setDirection
Link copied to clipboard
fun setDirection(rotateDirection: BalloonRotateDirection): BalloonRotateAnimation.Builder
sets the direction of the rotation animation.
setLoops
Link copied to clipboard
fun setLoops(loop: Int): BalloonRotateAnimation.Builder
sets the iteration of the rotation animation.
setSpeeds
Link copied to clipboard
fun setSpeeds(speed: Int): BalloonRotateAnimation.Builder
sets the speed of the rotation animation.
setTurns
Link copied to clipboard
fun setTurns(turn: Int): BalloonRotateAnimation.Builder
sets the turning count of the rotation animation.

Properties

degreeX
Link copied to clipboard
var degreeX: Int = 0
degreeZ
Link copied to clipboard
var degreeZ: Int = 0
direction
Link copied to clipboard
var direction: BalloonRotateDirection
loops
Link copied to clipboard
var loops: Int
speeds
Link copied to clipboard
var speeds: Int = 2500
turns
Link copied to clipboard
var turns: Int = 1