Designer Plugins
Plugins for Disguise Designer software.
Plugins for Disguise Designer software.
A two-dimensional integer vector with x and y components
Base class: _BlipValue
The maximum component of the vector.
The minimum component of the vector.
The x component of the vector.
UserName: X
The y component of the vector.
UserName: Y
Copy constructor for Int2
A serialisable tuple of the Int2 parameters
Checks whether any component of this vector is larger than the corresponding component of another vector.
Parameters:
Returns True if any component of this vector is larger than the corresponding component of the other vector.
Checks if any component of this vector is smaller than the corresponding component of another vector.
Parameters:
Returns True if any component of this vector is smaller than the corresponding component of the other vector.
The area of the vector if its components are treated as the sides of a rectangle.
Returns The area of the vector, defined as the absolute value of x * y.
The aspect ratio of the vector, defined as the ratio of the x component to the y component.
Returns The aspect ratio of the vector.
The length of the vector in 2D space.
Returns The length of the vector.
Restricts the vector to be within a minimum and maximum range.
Parameters:
Returns A new vector with components restricted to the minimum and maximum range.
Component-wise maximum of two vectors.
Parameters:
Returns A new vector containing the component-wise maximum of this and the other vector.
Component-wise minimum of two vectors.
Parameters:
Returns A new vector containing the component-wise minimum of this and the other vector.
Adds two vectors.
Parameters:
Returns The component-wise sum of this and the input vector.
Tests for equality between two vectors.
Parameters:
Returns True if both components of the vectors are equal, false otherwise.
Get an item from the Int2 by index.
Parameters:
Returns The x element if the index is 0, the y element if the index is 1
The length of the Int2
Returns Always returns 2
Multiplies two vectors component-wise.
Parameters:
Returns The component-wise product of the two vectors.
Tests for inequality between two vectors.
Parameters:
Returns True if either of the components of the vectors are not equal, false otherwise.
The negative of the Int2
Returns The Int2 with its x and y components negated
String representation of the Int2
Multiplies two vectors component-wise.
Parameters:
Returns The component-wise product of the two vectors.
String representation of the Int2
Subtracts another vector from this vector.
Parameters:
Returns The resulting vector after component-wise subtraction.