Paint

smile.colors.Paint
trait Paint

A trait representing a paint pattern. Paints can be used as the fill or stroke of a shape.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Color
class PresetColor

Members list

Value members

Abstract fields

lazy val averageColor: Color

Attributes

Returns

A Color object representing the average color of the paint pattern.