custom

fun custom(icon: Painter, tint: Color? = null): EventPointType

Creates a custom event point type with a specified Painter icon.

Return

A new instance of EventPointType with the custom icon.

Parameters

icon

The Painter icon for the custom event point type.

tint

The optional tint Color of the custom icon.