public void pushTransform(Matrix3 matrix) { var layer = new TransformLayer(); layer.transform = matrix; this._pushLayer(layer); }
protected void PushTransform(List <double> matrix4) { var sk_matrix = Matrix.ToSkMatrix(matrix4); var layer = new TransformLayer(); layer.set_transform(sk_matrix); PushLayer(layer); }
public Layer pushOffset(float dx, float dy) { var layer = new TransformLayer(); layer.transform = Matrix3.makeTrans(dx, dy); this._pushLayer(layer); return(layer); }
protected NativeEngineLayer PushOffset(double dx, double dy) { SKMatrix sk_matrix = SKMatrix.MakeTranslation((float)dx, (float)dy); var layer = new TransformLayer(); layer.set_transform(sk_matrix); PushLayer(layer); return(NativeEngineLayer.MakeRetained(layer)); }