CodeCarvings.Piczard
ImageCrop Constructor(Int32,Int32,Int32,Int32,BackgroundColor)
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageCrop Class > ImageCrop Constructor : ImageCrop Constructor(Int32,Int32,Int32,Int32,BackgroundColor)

x

The X coordinate of the crop Rectangle.

y
The Y coordinate of the crop Rectangle.
width
The width of the crop Rectangle.
height
The height of the crop Rectangle.
canvasColor
The color used to fill the eventual canvas area.
Initializes a new instance of the ImageCrop class and sets the crop rectangle; the specified color is used to fill the eventual canvas area.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal canvasColor As BackgroundColor _
)
C#  
public ImageCrop( 
   int x,
   int y,
   int width,
   int height,
   BackgroundColor canvasColor
)

Parameters

x

The X coordinate of the crop Rectangle.

y
The Y coordinate of the crop Rectangle.
width
The width of the crop Rectangle.
height
The height of the crop Rectangle.
canvasColor
The color used to fill the eventual canvas area.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.