Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to instantiate "Pen" #81

Open
javaCR7 opened this issue Aug 23, 2023 · 1 comment
Open

Unable to instantiate "Pen" #81

javaCR7 opened this issue Aug 23, 2023 · 1 comment

Comments

@javaCR7
Copy link

javaCR7 commented Aug 23, 2023

image

@chenzanyu
Copy link

chenzanyu commented Sep 11, 2023

can Use

var pen =Pens.DashDot(prediction.Label.Color, 1);
image.Mutate(a => a.DrawPolygon(pen,
        new PointF(prediction.Rectangle.Left, prediction.Rectangle.Top),
        new PointF(prediction.Rectangle.Right, prediction.Rectangle.Top),
        new PointF(prediction.Rectangle.Right, prediction.Rectangle.Bottom),
        new PointF(prediction.Rectangle.Left, prediction.Rectangle.Bottom)
    ));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants