Class ImageEditorCanvasElement
Inheritance
System.Object
ImageEditorCanvasElement
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ImageEditorCanvasElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
ImageEditorCanvasElement(RadImageEditorElement)
Declaration
public ImageEditorCanvasElement(RadImageEditorElement imageEditorElement)
Parameters
RadImageEditorElement
imageEditorElement
|
Fields
mouseCurrentLocation
Declaration
protected Point mouseCurrentLocation
Field Value
System.Drawing.Point
|
mouseDownLocation
Declaration
protected Point mouseDownLocation
Field Value
System.Drawing.Point
|
mouseLastLocation
Declaration
protected Point mouseLastLocation
Field Value
System.Drawing.Point
|
movingCropRect
Declaration
protected bool movingCropRect
Field Value
System.Boolean
|
panning
Declaration
protected bool panning
Field Value
System.Boolean
|
resizingCropRect
Declaration
protected bool resizingCropRect
Field Value
System.Boolean
|
Properties
AcceptButton
CancelButton
CropHandlesSize
Declaration
public Size CropHandlesSize { get; set; }
Property Value
System.Drawing.Size
|
IsCropping
Declaration
public bool IsCropping { get; protected set; }
Property Value
System.Boolean
|
IsDrawing
Declaration
public bool IsDrawing { get; protected set; }
Property Value
System.Boolean
|
IsPanning
Declaration
public bool IsPanning { get; protected set; }
Property Value
System.Boolean
|
RelativeCropRect
Declaration
protected RectangleF RelativeCropRect { get; set; }
Property Value
System.Drawing.RectangleF
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
ChangeResizeCursor(Point)
Declaration
protected virtual void ChangeResizeCursor(Point location)
Parameters
System.Drawing.Point
location
|
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
GetCropRectangle()
Declaration
protected virtual Rectangle GetCropRectangle()
Returns
System.Drawing.Rectangle
|
GetImageDrawRectangle()
Declaration
protected virtual Rectangle GetImageDrawRectangle()
Returns
System.Drawing.Rectangle
|
GetResizeType(Point)
Declaration
protected virtual ResizeType GetResizeType(Point location)
Parameters
System.Drawing.Point
location
|
Returns
ResizeType
|
GetShapePath()
Declaration
protected virtual GraphicsPath GetShapePath()
Returns
System.Drawing.Drawing2D.GraphicsPath
|
HideAcceptAndCancelButtons()
Declaration
public virtual void HideAcceptAndCancelButtons()
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
MoveCropRectangle(Point)
Declaration
protected virtual void MoveCropRectangle(Point location)
Parameters
System.Drawing.Point
location
|
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseWheel(MouseEventArgs)
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
ResetMouseAndFlags()
Declaration
protected virtual void ResetMouseAndFlags()
ResizeCropRect(Point)
Declaration
protected virtual void ResizeCropRect(Point location)
Parameters
System.Drawing.Point
location
|
ShowAcceptAndCancelButtons()
Declaration
public virtual void ShowAcceptAndCancelButtons()
StartCrop()
Declaration
public virtual void StartCrop()
StartDrawing(ShapeInfo)
StartPan()
Declaration
public virtual void StartPan()
StopAllOperations()
Declaration
public virtual void StopAllOperations()
StopCrop()
Declaration
public virtual Rectangle StopCrop()
Returns
System.Drawing.Rectangle
|
StopDrawing()
Declaration
public virtual void StopDrawing()
StopPan()
Declaration
public virtual void StopPan()