SKMatrix.SetScaleTranslate(Single, Single, 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.
Caution
This API is now deprecated.
Caution
Use CreateScaleTranslation(float, float, float, float) instead.
Initializes the matrix to be scale + post-translate.
public void SetScaleTranslate (float sx, float sy, float tx, float ty);
[System.Obsolete]
public void SetScaleTranslate (float sx, float sy, float tx, float ty);
[System.Obsolete("Use CreateScaleTranslation(float, float, float, float) instead.")]
public void SetScaleTranslate (float sx, float sy, float tx, float ty);
Parameters
- sx
- Single
The scaling in the x-direction.
- sy
- Single
The scaling in the y-direction.
- tx
- Single
The translation in the x-direction.
- ty
- Single
The translation in the y-direction.
- Attributes
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.