Skip to content

PointEx ​

Provides extension methods for performing arithmetic operations on System.Drawing.Point values.

Kind: Static class

Namespace: CrowdControl.Common

Public Static Functions

Point

Add(Point point, Point other)

Adds the specified point to the current point.

Point

Subtract(Point point, Point other)

Subtracts the specified point from the current point.

Point

Multiply(Point point, int factor)

Multiplies the coordinates of the current point by the specified factor.

Point

Divide(Point point, int divisor)

Divides the coordinates of the current point by the specified divisor.