asposecells.api

Class CellsColor

Represents all types of color.

Property Getters/Setters Summary
methodgetArgb()
method
setArgb(value)
           Gets and sets the color from a 32-bit ARGB value.
methodgetColor()
method
setColor(value)
           Gets and sets the RGB color.
methodgetColorIndex()
method
           Gets and sets the color index in the color palette. Only applies of indexed color.
methodisShapeColor()
method
           Gets and set the color which should apply to cell or shape.
methodgetThemeColor()
method
           Gets the theme color. Only applies for theme color type.
methodgetTransparency()
method
           Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
methodgetType()
The color type. The value of the property is ColorType integer constant.
 
Method Summary
methodsetTintOfShapeColor(tint)
Set the tint of the shape color
 

    • Property Getters/Setters Detail

      • isShapeColor/setShapeColor : boolean 

        boolean isShapeColor() / setShapeColor(value)
        
        Gets and set the color which should apply to cell or shape. The expression of the color of the cell and the shape is different. For example: the theme color with same tint value will be not same in the cell and the shape.
      • getType : int 

        int getType()
        
        The color type. The value of the property is ColorType integer constant.
      • getThemeColor/setThemeColor : ThemeColor 

        ThemeColor getThemeColor() / setThemeColor(value)
        
        Gets the theme color. Only applies for theme color type.
      • getColorIndex/setColorIndex : int 

        int getColorIndex() / setColorIndex(value)
        
        Gets and sets the color index in the color palette. Only applies of indexed color.
      • getColor/setColor : Color 

        Color getColor() / setColor(value)
        
        Gets and sets the RGB color.
      • getArgb/setArgb : int 

        int getArgb() / setArgb(value)
        
        Gets and sets the color from a 32-bit ARGB value.
      • getTransparency/setTransparency : float 

        float getTransparency() / setTransparency(value)
        
        Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
    • Method Detail

      • setTintOfShapeColor

         setTintOfShapeColor(tint)
        Set the tint of the shape color
        Parameters:
        tint: float -