C# Class ImageMagick.DrawableRoundRectangle

Draws a rounted rectangle given two coordinates, x & y corner radiuses and using the current stroke, stroke width, and fill settings.
Inheritance: IDrawable
显示文件 Open project: dlemstra/Magick.NET

Public Methods

Method Description
DrawableRoundRectangle ( double centerX, double centerY, double width, double height, double cornerWidth, double cornerHeight )

Initializes a new instance of the DrawableRoundRectangle class.

IDrawable ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Method Details

DrawableRoundRectangle() public method

Initializes a new instance of the DrawableRoundRectangle class.
public DrawableRoundRectangle ( double centerX, double centerY, double width, double height, double cornerWidth, double cornerHeight )
centerX double The center X coordinate.
centerY double The center Y coordinate.
width double The width.
height double The height.
cornerWidth double The corner width.
cornerHeight double The corner height.

IDrawable() public method

Draws this instance with the drawing wand.
public IDrawable ( IDrawingWand wand ) : void
wand IDrawingWand The want to draw on.
return void