Stroke.Builder

public abstract class Stroke.Builder


Builder for Stroke.

Summary

Public constructors

Public methods

abstract Stroke

Builds the Stroke instance.

abstract Stroke.Builder

Sets the brush mode used for this stroke.

abstract Stroke.Builder
setCompleted(boolean completed)

Sets whether the stroke is complete.

abstract Stroke.Builder

Sets the sequence of normalized key points forming the stroke.

Public constructors

Builder

public Builder()

Public methods

build

public abstract Stroke build()

Builds the Stroke instance.

setBrushMode

public abstract Stroke.Builder setBrushMode(Stroke.BrushMode brushMode)

Sets the brush mode used for this stroke.

setCompleted

public abstract Stroke.Builder setCompleted(boolean completed)

Sets whether the stroke is complete.

setPoints

public abstract Stroke.Builder setPoints(List<NormalizedKeypoint> points)

Sets the sequence of normalized key points forming the stroke.