Optionalbounce
bounce?: boolean = false
bounceFriction
bounceFriction: number = 0
drawShape
drawShape: "rect" | "point" | "polygon" = "rect"
durationFrames
durationFrames: number = Infinity
fill
fill: string = "none"
height
height: number = 100
pivot
pivot: [number, number] = ...
position
position: [number, number] = ...
radius
radius: number = 50
rotation
rotation: number = 0
startFrame
startFrame: number = 0
stroke
stroke: string = "black"
strokeWidth
strokeWidth: number = 0
type
type: string = "Animation"
Base class for drawable and animatable shapes