offset method
void
offset(
- T dx,
- T dy
Offsets this Point by the specified amount.
Implementation
void offset(T dx, T dy) {
x = x + dx as T;
y = y + dy as T;
}
Offsets this Point by the specified amount.
void offset(T dx, T dy) {
x = x + dx as T;
y = y + dy as T;
}