LinearGradientBrush.TranslateTransform

TranslateTransform(float, float)

Translates the local geometric transform by the specified dimensions. This method prepends the translation to the transform.

public void TranslateTransform(float dx, float dy)
ParameterTypeDescription
dxSingleThe value of the translation in x.
dySingleThe value of the translation in y.

See Also


TranslateTransform(float, float, MatrixOrder)

Translates the local geometric transform by the specified dimensions in the specified order.

public void TranslateTransform(float dx, float dy, MatrixOrder order)
ParameterTypeDescription
dxSingleThe value of the translation in x.
dySingleThe value of the translation in y.
orderMatrixOrderThe order (prepend or append) in which to apply the translation.

See Also