Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class Area

java.lang.Object
  extended by com.aspose.cells.Area

public class Area
extends java.lang.Object

Encapsulates the object that represents a chart area.


Method Summary
 boolean equals(java.lang.Object another)
           
 Color getBackgroundColor()
          Gets the background Color of the Area.
 Fill getFill()
          Gets fill setting of this Area.
 FillFormat getFillFormat()
          Gets a object that contains fill formatting properties for the specified chart or shape.
 byte getFillType()
          Gets fill type for area in chart.
 Color getForegroundColor()
          Gets the foreground Color.
 float getForegroundTransparency()
          Gets the transparency of foreground color.
 boolean isAuto()
          Indicates Microsoft Workbook automatically determines the area pattern.
 boolean isVisible()
          Indicates whether the area is visible in the chart.
 void setAuto(boolean isAuto)
          Sets whether Microsoft Workbook automatically determines the area pattern.
 void setBackgroundColor(Color color)
          Sets the background Color of the Area.
 void setFill(Fill fill)
          Sets specific fill settings for this Area.
 void setForegroundColor(Color color)
          Sets the foreground Color.
 void setForegroundTransparency(float val)
          Sets the transparency of foreground color.
 void setVisible(boolean visible)
          Sets whether the area is visible in the chart.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object another)
Overrides:
equals in class java.lang.Object

getFillType

public byte getFillType()
Gets fill type for area in chart.

Returns:
fill type of area.
See Also:
FillType

getBackgroundColor

public Color getBackgroundColor()
Gets the background Color of the Area.

Returns:
the background Color of the Area.

setBackgroundColor

public void setBackgroundColor(Color color)
Sets the background Color of the Area.

Parameters:
color - the background Color of the Area.

getForegroundColor

public Color getForegroundColor()
Gets the foreground Color.

Returns:
the foreground Color.

setForegroundColor

public void setForegroundColor(Color color)
Sets the foreground Color.

Parameters:
color - the foreground Color.

getForegroundTransparency

public float getForegroundTransparency()
Gets the transparency of foreground color.

Returns:
transparency, 0~1.

setForegroundTransparency

public void setForegroundTransparency(float val)
Sets the transparency of foreground color.

Parameters:
val - transparency. Can only be a value from 0 to 1.

setAuto

public void setAuto(boolean isAuto)
Sets whether Microsoft Workbook automatically determines the area pattern.

Parameters:
isAuto - whether Microsoft Workbook automatically determines the area pattern.

isAuto

public boolean isAuto()
Indicates Microsoft Workbook automatically determines the area pattern.

Returns:
whether Microsoft Workbook automatically determines the area pattern.

isVisible

public boolean isVisible()
Indicates whether the area is visible in the chart.

Returns:
whether the area is visible in the chart.

setVisible

public void setVisible(boolean visible)
Sets whether the area is visible in the chart.

Parameters:
visible - whether the area is visible in the chart.

getFillFormat

public FillFormat getFillFormat()
Gets a object that contains fill formatting properties for the specified chart or shape.

Returns:
a object that contains fill formatting properties.

getFill

public Fill getFill()
Gets fill setting of this Area.

Returns:
object for specific fill settings, can be null, or GradientFill/TextureFill/PatternFill object.

setFill

public void setFill(Fill fill)
Sets specific fill settings for this Area.

Parameters:
fill - object for specific fill settings. Can be null or GradientFill/TextureFill/PatternFill object.