toStyle abstract method

PStyle toStyle({
  1. int? size,
})

Returns a PStyle using this as color and optional parameter size.

Implementation

PStyle toStyle({int? size});