BorderStylePreset

Preset for border styles. Encapsulates both BorderStyle and dash array used for DASHED.

See also

Constructors

Link copied to clipboard
constructor(@NonNull style: BorderStyle)
Creates preset with border style style and null dash array.
constructor(@NonNull style: BorderStyle, @Nullable dashArray: List<Integer>)
Creates preset with border style style and dash array dashArray.
constructor(@NonNull borderStyle: BorderStyle, @NonNull borderEffect: BorderEffect, @Nullable dashArray: List<Integer>)
Creates preset with border style borderStyle, border effect borderEffect and dash array dashArray.
constructor(@NonNull borderStyle: BorderStyle, @NonNull borderEffect: BorderEffect, @FloatRange(from = 0.0) borderEffectIntensity: Float, @Nullable dashArray: List<Integer>)
Creates preset with border style borderStyle, border effect borderEffect and dash array dashArray.

Properties

Link copied to clipboard
Link copied to clipboard
@FloatRange(from = 0.0)
@get:FloatRange(from = 0.0)
val borderEffectIntensity: Float
Link copied to clipboard
Link copied to clipboard
Cloudy line border.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Solid line border.

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hasBorder(): Boolean
Returns whether border style preset represents a border.
Link copied to clipboard
open fun hashCode(): Int