public class Bevel extends TeeBase
Title: Bevel class
Description: Displays bevels (frames) around rectangles
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Field and Description |
---|---|
protected BevelStyle |
defaultOuter |
protected BevelStyle |
inner |
protected BevelStyle |
outer |
chart, InternalUse
Constructor and Description |
---|
Bevel(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
assign(Bevel b)
Assigns all properties from one bevel to another.
|
void |
draw(IGraphics3D g,
Rectangle rect)
Draws bevels around rectangle parameter.
|
Color |
getColorOne()
Color of left and top sides of bevels.
|
Color |
getColorTwo()
Color of right and bottom sides of bevels.
Used together with ColorOne, these properties set the colors applied to the Bevel edge when Raised or Lowered. |
BevelStyle |
getInner()
Defines the inner bevel type of the TChart Panel border.
|
BevelStyle |
getOuter()
The outer bevel type of the TChart Panel border.
|
boolean |
getVisible() |
int |
getWidth()
Width of the TeeChart Panel border in pixels.
|
protected java.lang.Object |
readResolve() |
void |
setColorOne(Color value)
Sets the Color of left and top sides of bevels.
|
void |
setColorTwo(Color value)
Sets the Color of right and bottom sides of bevels.
Default value: gray |
void |
setInner(BevelStyle value)
Defines the inner bevel type of the TChart Panel border.
|
void |
setOuter(BevelStyle value)
Defines the outer bevel type of the TChart Panel border.
|
void |
setVisible(boolean value) |
void |
setWidth(int value)
Sets the width of the TeeChart Panel border in pixels.
|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
protected BevelStyle inner
protected BevelStyle outer
protected transient BevelStyle defaultOuter
public Bevel(IBaseChart c)
protected java.lang.Object readResolve()
public BevelStyle getInner()
public void setInner(BevelStyle value)
value
- BevelStylepublic int getWidth()
public void setWidth(int value)
value
- intpublic Color getColorOne()
public void setColorOne(Color value)
value
- Colorpublic Color getColorTwo()
public void setColorTwo(Color value)
value
- Colorpublic BevelStyle getOuter()
public void setOuter(BevelStyle value)
value
- BevelStylepublic void assign(Bevel b)
b
- Bevelpublic void draw(IGraphics3D g, Rectangle rect)
g
- IGraphics3Drect
- Rectanglepublic boolean getVisible()
public void setVisible(boolean value)