EventPointType

Represents a type of event point in a UI component with an optional icon. This class is used to define different types of event points such as empty, filled, or custom types with specific icons.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val fillPercent: Float? = null

An optional percentage value for the FILLED type

Link copied to clipboard
val icon: Painter? = null

An optional Painter icon associated with the event point type.

Link copied to clipboard
val tint: Color? = null

An optional tint Color overlay for the icon.

Link copied to clipboard

The name of the event point type.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this instance is equal to another object. Two instances of EventPointType are considered equal if they have the same type and icon.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object, which is consistent with the definition of equality for the class. This supports the use in hash tables, like those provided by HashMap.

Link copied to clipboard

A helper function to check if the current EventPointType is CUSTOM

Link copied to clipboard

A helper function to check if the current EventPointType is EMPTY or FILLED

Link copied to clipboard

A helper function to check if the current EventPointType is FILLED