ClipFlags Enumeration

Flags used in various clipping and distance algorithms. This clever enum can combine North and East for example to have NorthEast which means ( ClipFlags.North|ClipFlags.East == ClipFlags.NorthEast )

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Fields
 
Name Value Description
East 8 Right.
North 1 Above.
NorthEast 9 Above and right.
NorthWest 5 Above and left.
South 2 Below.
SouthEast 10 Below and right.
SouthWest 6 Below and left.
West 4 Left.

In this article

Definition