Border Style Preset
Creates preset with border style style
and null dash array.
Parameters
style
Border style to use.
Creates preset with border style style
and dash array dashArray
.
Parameters
style
Border style to use.
dash Array
Dash array to use. Valid only when style
is set to DASHED.
constructor(@NonNull borderStyle: BorderStyle, @NonNull borderEffect: BorderEffect, @Nullable dashArray: List<Integer>)
Creates preset with border style borderStyle
, border effect borderEffect
and dash array dashArray
.
Parameters
border Style
Border style to use.
border Effect
Border effect to use.
dash Array
Dash array to use. Valid only when style
is set to DASHED.
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
.
Parameters
border Style
Border style to use.
border Effect
Border effect to use.
border Effect Intensity
Intensity of the border effect. See setBorderEffectIntensity for more details.
dash Array
Dash array to use. Valid only when style
is set to DASHED.