MonobjcMonobjc Documented Class Library
VectorWithXY Method (x, y)
NamespacesMonobjc.QuartzCoreCIVectorVectorWithXY(CGFloat, CGFloat)

Creates and returns a vector that is initialized with two values.

Original signature is '+ (CIVector *)vectorWithX:(CGFloat)x Y:(CGFloat)y'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIVector VectorWithXY(
	CGFloat x,
	CGFloat y
)
Public Shared Function VectorWithXY ( _
	x As CGFloat, _
	y As CGFloat _
) As CIVector
public:
static CIVector^ VectorWithXY(
	CGFloat x, 
	CGFloat y
)
Parameters
x (CGFloat)
The value for the first position in the vector.
y (CGFloat)
The value for the second position in the vector.
Return Value
A vector initialized with the specified values.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)