Skip to content
Discussion options

You must be logged in to vote

When your question is "how can I do X", a good way to find an answer is to browse the sample showcase for a sample that does something similar and look up the docs for the APIs used by that sample.

You are asking to clip the view. You can probably trivially modify or extend the ViewClipByShapeTool.

If you need an example of how to use mouse drag to define and draw a rectangle, here's one.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shenshengyi
Comment options

Answer selected by shenshengyi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants