Tesla Graphics Engine Documentation (January 2012)
Translate Method (xAmount, yAmount)
Tesla
►
Tesla.Math
►
Rectangle
►
Translate(Int32, Int32)
C#
Translates this rectangle's top left X,Y coordinates by the supplied amount.
Declaration Syntax
C#
public
void
Translate
(
int
xAmount
,
int
yAmount
)
Parameters
xAmount
(
Int32
)
Amount to translate in X axis
yAmount
(
Int32
)
Amount to translate in Y axis
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)