java.lang.Object | |
↳ | com.pspdfkit.ui.inspector.views.BorderStylePreset |
Preset for border styles. Encapsulates both BorderStyle
and dash array used for DASHED
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final BorderStylePreset | CLOUDY | Cloudy line border. | |||||||||
public static final BorderStylePreset | DASHED_1_1 | ||||||||||
public static final BorderStylePreset | DASHED_1_3 | ||||||||||
public static final BorderStylePreset | DASHED_3_3 | ||||||||||
public static final BorderStylePreset | DASHED_6_6 | ||||||||||
public static final BorderStylePreset | NONE | No border. | |||||||||
public static final BorderStylePreset | SOLID | Solid line border. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BorderStylePreset(BorderStyle style)
Creates preset with border style
style and null dash array. | |||||||||||
BorderStylePreset(BorderStyle style, List<Integer> dashArray)
Creates preset with border style
style and dash array dashArray . | |||||||||||
BorderStylePreset(BorderStyle borderStyle, BorderEffect borderEffect, List<Integer> dashArray)
Creates preset with border style
borderStyle , border effect borderEffect and
dash array dashArray . | |||||||||||
BorderStylePreset(BorderStyle borderStyle, BorderEffect borderEffect, float borderEffectIntensity, List<Integer> dashArray)
Creates preset with border style
borderStyle , border effect borderEffect and
dash array dashArray . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
BorderEffect |
getBorderEffect()
Border effect specified by this preset.
| ||||||||||
float |
getBorderEffectIntensity()
Intensity of the border effect.
| ||||||||||
BorderStyle |
getBorderStyle()
Border style specified in this preset.
| ||||||||||
List<Integer> |
getDashArray()
Returns dash array specified in this preset.
| ||||||||||
boolean |
hasBorder()
Returns whether border style preset represents a border.
| ||||||||||
int | hashCode() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates preset with border style style
and null dash array.
style | Border style to use. |
---|
Creates preset with border style style
and dash array dashArray
.
style | Border style to use. |
---|---|
dashArray | Dash array to use. Valid only when style is set to DASHED .
|
Creates preset with border style borderStyle
, border effect borderEffect
and
dash array dashArray
.
borderStyle | Border style to use. |
---|---|
borderEffect | Border effect to use. |
dashArray | Dash array to use. Valid only when style is set to DASHED .
|
Creates preset with border style borderStyle
, border effect borderEffect
and
dash array dashArray
.
borderStyle | Border style to use. |
---|---|
borderEffect | Border effect to use. |
borderEffectIntensity | Intensity of the border effect. See setBorderEffectIntensity(float) for more details. |
dashArray | Dash array to use. Valid only when style is set to DASHED .
|
Border effect specified by this preset.
NO_EFFECT
if no effect should be used.
Intensity of the border effect. Valid only if the border effect is CLOUDY
.
Border style specified in this preset.
NONE
if no border should be used.
Returns dash array specified in this preset.
null
if none is specified (for example when not using dashed
border style).
Returns whether border style preset represents a border.
true
when border is enabled, false
when this border style represents
no border.