Finds center of an image based on upscaled crop size.

Namespace: MonoSoftware.MonoX.Controls
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
protected virtual int GetUpScaledImageCenter(
	int rectangleSize,
	bool isWidth
)
Visual Basic
Protected Overridable Function GetUpScaledImageCenter ( 
	rectangleSize As Integer,
	isWidth As Boolean
) As Integer
Visual C++
protected:
virtual int GetUpScaledImageCenter(
	int rectangleSize, 
	bool isWidth
)
F#
abstract GetUpScaledImageCenter : 
        rectangleSize : int * 
        isWidth : bool -> int 
override GetUpScaledImageCenter : 
        rectangleSize : int * 
        isWidth : bool -> int 

Parameters

rectangleSize
Type: System..::..Int32
Rectangle size.
isWidth
Type: System..::..Boolean
IsWidth.

Return Value

Type: Int32
Calculated center value.

See Also