StrokeStyle

smile.pictures.StrokeStyle
See theStrokeStyle companion object
case class StrokeStyle(paint: Paint, width: Double, cap: Cap, join: Join, onTop: Boolean)

Encapsulates the style attributes for stroking operations, including color, line width, and line cap and join styles.

Value parameters

cap

The cap style of the stroke. Defaults to Square.

join

The join style of the stroke. Defaults to Miter.

paint

The paint (single color or gradient) used for the stroke.

width

The width of the stroke. Defaults to 1.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product