Conversation
|
Thank you for your contribution. I'm not really sure I understand the motivation behind this PR. I'm also not sure how your proposed changes make things easier for users of the package. If you want to put a border around a For most applications, it should not be necessary to write your own primitive. If Maybe you can describe the issues you're having (ideally with example code) so I have a better idea what you need. |
|
Ah, I see now. Makes way more sense when you explain it like that. Sorry for the confusion. |
|
No problem. Always happy to explain. |
The Box primitive is used in many examples (especially
Flex) but once you start using it adding contents inside the Box is not straight forward without generating customPrimitivesand.Draw()functions. This is an initial bare minimum implementation to support Box having a.SetContents(p Primitive).This does not change how
b.drawworks but long term it may mean the need for aDrawFuncis unnecessary and allows for more composability.