public Translate ( float dx, float dy ) : void | ||
dx | float | |
dy | float | |
Résultat | void |
public void Translate(float dx, float dy)
{
var translateMatrix = new Matrix(CGAffineTransform.MakeTranslation(dx, dy));
Transform (translateMatrix);
}
Region::Translate ( int dx, int dy ) : void |
// Window Constructor. Copies the existing Graphics and creates a new // Graphics that has an origin of baseWindow.Location and is always clipped // to baseWindow internal Graphics(IToolkitGraphics graphics, Rectangle baseWindow) : this(graphics) { this.baseWindow = baseWindow; clip = new Region(baseWindow); clip.Translate(-baseWindow.X, -baseWindow.Y); Clip = clip; }