Forum Libraries, Components, and Plugins

Stroke scaling

Hi guys,

It is possible to disable stroke scale?

    var objectTransform = Transform;

    canvas.Concat(ref objectTransform);

    using (SKPaint paint = new SKPaint())
           paint.Style = SKPaintStyle.Stroke;

           paint.StrokeWidth = 1;
           paint.IsAntialias = true;
           paint.Color = new SKColor(255, 0, 0, 255);

           canvas.DrawRect(Outline, paint);


Transform property its matrix that contains user defined transformations. If user applies scaling, stroke scaled also.

Im trying to make object selection rect, that contains transformation controls, like rotate and scale. Rect must be scaled and rotated like selected object

Thank you

Sign In or Register to comment.