接口 IBorders
public interface IBorders
-
方法概要
修饰符和类型方法说明void
clear()
Clear the bordersget
(BordersIndex index) Returns theIBorder
object from a collection.getColor()
int
Gets the color of all four borders.int
getCount()
Returns the number of objects in the collection.Gets the line style for the border.Gets the theme color in the applied color scheme that is associated with the specified object.double
Gets a value that lightens or darkens a color.void
void
setColorIndex
(int value) Sets the color of all four borders.void
setLineStyle
(BorderLineStyle value) Sets the line style for the border.void
setThemeColor
(ThemeColor value) Sets the theme color in the applied color scheme that is associated with the specified object.void
setTintAndShade
(double value) Sets a value that lightens or darkens a color.
-
方法详细资料
-
getColor
Color getColor() -
setColor
-
getColorIndex
int getColorIndex()Gets the color of all four borders. -
setColorIndex
void setColorIndex(int value) Sets the color of all four borders. -
getThemeColor
ThemeColor getThemeColor()Gets the theme color in the applied color scheme that is associated with the specified object. -
setThemeColor
Sets the theme color in the applied color scheme that is associated with 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. -
getCount
int getCount()Returns the number of objects in the collection. -
get
Returns theIBorder
object from a collection.- 参数:
index
- Specifies the position of an element in the collection.
-
clear
void clear()Clear the borders
-