colorformat-ag凯发旗舰厅



com.spire.presentation.drawing
class colorformat

java.lang.object
  extended by com.spire.presentation.pptobject
      extended by com.spire.presentation.drawing.colorformat

public class colorformat
extends pptobject

represents the color of a one-color object


constructor summary
colorformat()
           
colorformat(islidecomponent parent)
           
colorformat(islidecomponent parent, com.spire.ms.system.drawing.color color)
           
colorformat(islidecomponent parent, colorformat color)
           
colorformat(islidecomponent parent, knowncolors systemdefined)
           
colorformat(islidecomponent parent, schemecolor schemecolor)
           
 
method summary
 byte getb()
          gets the blue component of a color.
 java.awt.color getcolor()
          gets rgb colors.
 colortype getcolortype()
           
 byte getg()
          gets the green component of a color.
 float gethue()
          gets the hue component of a color in hsl representation.
 knowncolors getknowncolor()
          gets the color preset.
 float getluminance()
          gets the luminance component of a color in hsl representation.
 byte getr()
          gets the red component of a color.
 java.awt.color getrawschemecolor()
          gets rgb colors by scheme.
 float getsaturation()
          gets the saturation component of a color in hsl representation.
 schemecolor getschemecolor()
          gets the color identified by a color scheme.
 systemcolortype getsystemcolor()
          gets the color identified by the system color table.
 void setb(byte value)
          sets the blue component of a color.
 void setcolor(java.awt.color value)
          sets rgb colors.
 void setcolortype(colortype value)
           
 void setg(byte value)
          sets the green component of a color.
 void sethue(float value)
          sets the hue component of a color in hsl representation.
 void setknowncolor(knowncolors value)
          sets the color preset.
 void setluminance(float value)
          sets the luminance component of a color in hsl representation.
 void setr(byte value)
          sets the red component of a color.
 void setsaturation(float value)
          sets the saturation component of a color in hsl representation.
 void setschemecolor(schemecolor value)
          sets the color identified by a color scheme.
 void setsystemcolor(systemcolortype value)
          sets the color identified by the system color table.
 
methods inherited from class com.spire.presentation.pptobject
checkdisposed, getparent
 
constructor detail

colorformat

public colorformat()

colorformat

public colorformat(islidecomponent parent)

colorformat

public colorformat(islidecomponent parent,
                   knowncolors systemdefined)

colorformat

public colorformat(islidecomponent parent,
                   schemecolor schemecolor)

colorformat

public colorformat(islidecomponent parent,
                   com.spire.ms.system.drawing.color color)

colorformat

public colorformat(islidecomponent parent,
                   colorformat color)
method detail

getrawschemecolor

public java.awt.color getrawschemecolor()
gets rgb colors by scheme. read/write .
returns:

getcolor

public java.awt.color getcolor()
gets rgb colors. read/write .
returns:

setcolor

public void setcolor(java.awt.color value)
sets rgb colors. read/write .

getcolortype

public colortype getcolortype()

setcolortype

public void setcolortype(colortype value)

getknowncolor

public knowncolors getknowncolor()
gets the color preset. read/write .
returns:

setknowncolor

public void setknowncolor(knowncolors value)
sets the color preset. read/write .

getsystemcolor

public systemcolortype getsystemcolor()
gets the color identified by the system color table. read/write .
returns:

setsystemcolor

public void setsystemcolor(systemcolortype value)
sets the color identified by the system color table. read/write .

getschemecolor

public schemecolor getschemecolor()
gets the color identified by a color scheme. read/write .
returns:

setschemecolor

public void setschemecolor(schemecolor value)
sets the color identified by a color scheme. read/write .

getr

public byte getr()
gets the red component of a color. all color transformations are ignored. read/write .
returns:
throws:
java.lang.exception

setr

public void setr(byte value)
sets the red component of a color. all color transformations are ignored. read/write .

getg

public byte getg()
gets the green component of a color. read/write .
returns:
throws:
java.lang.exception

setg

public void setg(byte value)
sets the green component of a color. read/write .

getb

public byte getb()
gets the blue component of a color. read/write .
returns:
throws:
java.lang.exception

setb

public void setb(byte value)
sets the blue component of a color. read/write .

gethue

public float gethue()
gets the hue component of a color in hsl representation. read/write .
returns:
throws:
java.lang.exception

sethue

public void sethue(float value)
sets the hue component of a color in hsl representation. read/write .

getsaturation

public float getsaturation()
gets the saturation component of a color in hsl representation. read/write .
returns:
throws:
java.lang.exception

setsaturation

public void setsaturation(float value)
sets the saturation component of a color in hsl representation. read/write .

getluminance

public float getluminance()
gets the luminance component of a color in hsl representation. read/write .
returns:
throws:
java.lang.exception

setluminance

public void setluminance(float value)
sets the luminance component of a color in hsl representation. read/write .


网站地图