Scenic.Primitive.Style.Scissor (Scenic v0.11.0-beta.0) View Source
Define a "Scissor Rectangle" that drawing will be clipped to.
Example:
graph
|> triangle( {{0,40},{40,40},{40,0}}
miter_limit: 2,
fill: :green,
scissor: {20, 40}
)
Data Format
{width, height}
width
- Width of the scissor rectangle.height
- Height of the scissor rectangle.