We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I want to add some inset to my pdf.
I noticed that it's possible to do it using the pdfData(size: CGSize? = nil, insets: Insets = .zero) function.
pdfData(size: CGSize? = nil, insets: Insets = .zero)
But the Inset type used by this function is not public so it can't be modified (always .zero).
Is there another way to apply an inset or should this type be public?
Thanks! Axel
The text was updated successfully, but these errors were encountered:
I just realised I can do the following
var insets: SVG.Insets = SVG.Insets.zero insets.bottom = -50 insets.left = -50 insets.bottom = -50 insets.right = -50
But maybe it could be better to have a public way to create it.
Sorry, something went wrong.
I've added a public initialiser to SVG.Inputs and made a pull request: #56
Successfully merging a pull request may close this issue.
Hello,
I want to add some inset to my pdf.
I noticed that it's possible to do it using the
pdfData(size: CGSize? = nil, insets: Insets = .zero)
function.But the Inset type used by this function is not public so it can't be modified (always .zero).
Is there another way to apply an inset or should this type be public?
Thanks!
Axel
The text was updated successfully, but these errors were encountered: