BrushFamily


public final class BrushFamily


A BrushFamily describes a family of brushes (e.g. “highlighter” or “pressure pen”), irrespective of their size or color.

For now, BrushFamily is an opaque type that can only be instantiated via StockBrushes. A future version of this module will allow creating fully custom BrushFamily objects.

BrushFamily objects are immutable.

Summary

Public methods

boolean
equals(Object other)
int
@NonNull String

Protected methods

final void

Deletes native BrushFamily memory.

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()

Protected methods

finalize

Added in 1.0.0-alpha01
protected final void finalize()

Deletes native BrushFamily memory.