C# Class SpeedSketch.CGVectorExtensions

Exibir arquivo Open project: xamarin/monotouch-samples

Public Methods

Method Description
Add ( this left, CGVector right ) : CGVector?
CreatePoint ( this self ) : CGPoint
Divide ( this left, nfloat right ) : CGVector
Mult ( this left, nfloat right ) : CGVector
Normal ( this self ) : CGVector?
Normalize ( this self ) : CGVector?
RoundTo ( this self, nfloat scale ) : CGVector

Method Details

Add() public static method

public static Add ( this left, CGVector right ) : CGVector?
left this
right CGVector
return CGVector?

CreatePoint() public static method

public static CreatePoint ( this self ) : CGPoint
self this
return CGPoint

Divide() public static method

public static Divide ( this left, nfloat right ) : CGVector
left this
right nfloat
return CGVector

Mult() public static method

public static Mult ( this left, nfloat right ) : CGVector
left this
right nfloat
return CGVector

Normal() public static method

public static Normal ( this self ) : CGVector?
self this
return CGVector?

Normalize() public static method

public static Normalize ( this self ) : CGVector?
self this
return CGVector?

RoundTo() public static method

public static RoundTo ( this self, nfloat scale ) : CGVector
self this
scale nfloat
return CGVector