CombinedGeometry


CombinedGeometryHierarchy: Freezable Animatable Geometry

Type: Geometry

     <CombinedGeometry         CombineMode="Union|Xor|Exclude|Intersect" /> 

<CombinedGeometry.../> combines two Geometry elements as specified by the CombineMode attribute.

Attributes


CombineMode (optional)

Determines how the two child Geometry elements will be combined


Exclude

The two regions described by the child elements will be combined by excluding the area in the second geometry from the area in the first geometry. The result is Geometry A - Geometry B.


Intersect

The two regions described by the child elements will be combined by taking the area that exists in both regions. This is the opposite of Xor mode. The result is (Geometry A - Geometry B) - ((Geometry B - Geometry A) + (Geometry A - Geometry B)).


Union

The two regions described by the child elements will be combined by including the union of both regions. The result is Geometry A + Geometry B.


Xor

The two regions described by the child elements will be combined by including the area that exists in the first region but not the second and the area that exists in the second region but not the first. The result is (Geometry A - Geometry B) + (Geometry B - Geometry A). This is the opposite of the Intersect mode.




XAML in a Nutshell
XAML in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596526733
EAN: 2147483647
Year: 2007
Pages: 217

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net