C# Class CSReportPaint.cGraphics

显示文件 Open project: javiercrowsoft/CSReports.net Class Usage Examples

Public Methods

Method Description
DrawRoundRectangle ( System pen, float x, float y, float width, float height, float radius ) : void
DrawRoundRectangle ( System pen, int x, int y, int width, int height, int radius ) : void
FillRoundRectangle ( System brush, float x, float y, float width, float height, float radius ) : void
FillRoundRectangle ( System brush, int x, int y, int width, int height, int radius ) : void
cGraphics ( Graphics graphics ) : System

Private Methods

Method Description
GetCapsule ( RectangleF baseRect ) : GraphicsPath
GetRoundedRect ( RectangleF baseRect, float radius ) : GraphicsPath

Method Details

DrawRoundRectangle() public method

public DrawRoundRectangle ( System pen, float x, float y, float width, float height, float radius ) : void
pen System
x float
y float
width float
height float
radius float
return void

DrawRoundRectangle() public method

public DrawRoundRectangle ( System pen, int x, int y, int width, int height, int radius ) : void
pen System
x int
y int
width int
height int
radius int
return void

FillRoundRectangle() public method

public FillRoundRectangle ( System brush, float x, float y, float width, float height, float radius ) : void
brush System
x float
y float
width float
height float
radius float
return void

FillRoundRectangle() public method

public FillRoundRectangle ( System brush, int x, int y, int width, int height, int radius ) : void
brush System
x int
y int
width int
height int
radius int
return void

cGraphics() public method

public cGraphics ( Graphics graphics ) : System
graphics System.Drawing.Graphics
return System