Skip to content

ClipArea

namespace Griff.Scenes;
public sealed class ClipArea

A part of the world draws are cut to (see Clip): a scrolling Layout’s area. It never changes once made, so a frame can be drawn while the game goes on, and draws cut to the same one are drawn together.

public Box Area { get; }

The area, in the world.

public ClipArea Within(ClipArea outer)

The part of it inside outer (none if they don’t overlap): the same one while both stay the same.