Path element of Siverlight issue

Posted by George2 on Stack Overflow See other posts from Stack Overflow or by George2
Published on 2009-06-16T15:40:31Z Indexed on 2010/04/08 12:33 UTC
Read the original article Hit count: 302

Filed under:
|
|
|
|

Hello everyone,

Suppose I have the following XAML code, my confusions are, (1) I do not know the exact meaning of Data attribute, especially items starts with letter M/C, (2) there is no special configuration for TransformGroup (all using default settings), why put the TransformGroup here?

		<Path Height="2.75" Width="2.75" Data="M2.75,1.375 C2.75,2.1343915 2.1343915,2.75 1.375,2.75 C0.61560845,2.75 0,2.1343915 0,1.375 C0,0.61560845 0.61560845,0 1.375,0 C2.1343915,0 2.75,0.61560845 2.75,1.375 z" Fill="#FF9F9B9B" Stretch="Fill" Stroke="#FF000000" StrokeThickness="0" Canvas.Top="7" x:Name="p3">
		<Path.RenderTransform>
				<TransformGroup>
					<ScaleTransform/>
					<SkewTransform/>
					<RotateTransform/>
					<TranslateTransform/>
				</TransformGroup>
			</Path.RenderTransform>
		</Path>

thanks in advance, George

© Stack Overflow or respective owner

Related posts about xaml

Related posts about c#