ICanvas.Translate(Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shifts a graphical object in horizontal and vertical directions.
public:
void Translate(float tx, float ty);
public void Translate (float tx, float ty);
abstract member Translate : single * single -> unit
Public Sub Translate (tx As Single, ty As Single)
Parameters
- tx
- Single
Horizontal shift. Negative values move the object to the left, while positive values move it to the right.
- ty
- Single
Vertical shift. Negative values move the object down, while positive values move it up.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.