← back to roto on ba3a.dev

ZoneStroke

@Serializable
data class ZoneStroke(val frame: Int, val zone: String, val radius: Int, val points: List<BrushPoint>)

One stroke of the zone brush on frame of a clip: figure under a disc of radius pixels along points joins zone, whatever the nearest sample said. Strokes apply in the order painted.

Constructors

Link copied to clipboard
constructor(frame: Int, zone: String, radius: Int, points: List<BrushPoint>)

Properties

Link copied to clipboard
val frame: Int

the clip frame the stroke is on

Link copied to clipboard

where the disc is stamped, in the order painted

Link copied to clipboard
val radius: Int

the brush radius in pixels, 1..64

Link copied to clipboard

the name of the zone the figure under the stroke joins