接口 IBorder
public interface IBorder
Represents the border of an object.
-
方法概要
修饰符和类型方法说明void
clear()
Clear the bordergetColor()
Gets theColor
of this border.int
Gets the color of the border.Gets the line style for the border.Gets theThemeColor
in the applied color scheme that is associatedwith the specified object.double
Gets a value that lightens or darkens a color.void
Sets theColor
of this border.void
setColorIndex
(int value) Sets the color of the border.void
setLineStyle
(BorderLineStyle value) Sets the line style for the border.void
setThemeColor
(ThemeColor value) Sets theThemeColor
in the applied color scheme that is associatedwith the specified object.void
setTintAndShade
(double value) Sets a value that lightens or darkens a color.
-
方法详细资料
-
getColor
Color getColor()Gets theColor
of this border. -
setColor
Sets theColor
of this border. -
getColorIndex
int getColorIndex()Gets the color of the border. -
setColorIndex
void setColorIndex(int value) Sets the color of the border. -
getThemeColor
ThemeColor getThemeColor()Gets theThemeColor
in the applied color scheme that is associatedwith the specified object. -
setThemeColor
Sets theThemeColor
in the applied color scheme that is associatedwith the specified object. -
getTintAndShade
double getTintAndShade()Gets a value that lightens or darkens a color. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral. -
setTintAndShade
void setTintAndShade(double value) Sets a value that lightens or darkens a color. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral. -
getLineStyle
BorderLineStyle getLineStyle()Gets the line style for the border. -
setLineStyle
Sets the line style for the border. -
clear
void clear()Clear the border
-