C# Class Dalssoft.DiagramNet.RectangleElement

Inheritance: BaseElement, IControllable, ILabelElement
Mostra file Open project: AlexandrSurkov/PKStudio Class Usage Examples

Protected Properties

Property Type Description
fillColor1 Color
fillColor2 Color
label LabelElement

Public Methods

Method Description
RectangleElement ( ) : System
RectangleElement ( Point l, Size s ) : System
RectangleElement ( Rectangle rec ) : System
RectangleElement ( int top, int left, int width, int height ) : System

Protected Methods

Method Description
DrawBorder ( Graphics g, Rectangle r ) : void
GetBrush ( Rectangle r ) : Brush

Private Methods

Method Description
Draw ( Graphics g ) : void
IControllable ( ) : IController

Method Details

DrawBorder() protected method

protected DrawBorder ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
return void

GetBrush() protected method

protected GetBrush ( Rectangle r ) : Brush
r System.Drawing.Rectangle
return System.Drawing.Brush

RectangleElement() public method

public RectangleElement ( ) : System
return System

RectangleElement() public method

public RectangleElement ( Point l, Size s ) : System
l Point
s System.Drawing.Size
return System

RectangleElement() public method

public RectangleElement ( Rectangle rec ) : System
rec System.Drawing.Rectangle
return System

RectangleElement() public method

public RectangleElement ( int top, int left, int width, int height ) : System
top int
left int
width int
height int
return System

Property Details

fillColor1 protected_oe property

protected Color fillColor1
return Color

fillColor2 protected_oe property

protected Color fillColor2
return Color

label protected_oe property

protected LabelElement,Dalssoft.DiagramNet label
return LabelElement