Optionalbounce
bounce?: boolean = false
bounceFriction
bounceFriction: number = 0
drawShape
drawShape: "rect" | "point" | "polygon" = "rect"
durationFrames
durationFrames: number = Infinity
fill
fill: string = "none"
fontFamily
fontFamily: string = "default"
fontSize
fontSize: number = 100
height
height: number = 100
letterSpacing
letterSpacing: number = 0
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
text
text: string = "Hello"
type
type: string = "Animation"
Base class for drawable and animatable shapes