程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> .NET網頁編程 >> 關於.NET >> 在WPF中自定義你的繪制(四)---part2

在WPF中自定義你的繪制(四)---part2

編輯:關於.NET

<Path x:Name="Path_19" Width="82.6855" Height="13.2431" Canvas.Left="459.496" Canvas.Top="440.29" Stretch="Fill" Data="F1 M 501.059,440.443C 523.891,441.22 542.302,444.746 542.181,448.319C 542.059,451.892 523.451,454.158 500.618,453.38C 477.786,452.603 459.375,449.076 459.496,445.504C 459.618,441.931 478.226,439.665 501.059,440.443 Z ">
<Path.Fill>
<RadialGradientBrush RadiusX="0.450588" RadiusY="0.559228" Center="0.5,0.500001" GradientOrigin="0.5,0.500001">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#7CFEFFEF" Offset="0"/>
<GradientStop Color="#00FFFFFF" Offset="1"/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.5" CenterY="0.500001" AngleX="3.24314" AngleY="0"/>
<RotateTransform CenterX="0.5" CenterY="0.500001" Angle="-17.9679"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Path.Fill>
</Path>
<Path x:Name="Path_20" Width="90.8587" Height="10.2712" Canvas.Left="453.197" Canvas.Top="572.956" Stretch="Fill" Data="F1 M 498.498,573.092C 523.588,572.447 543.985,574.162 544.056,576.923C 544.127,579.684 523.845,582.446 498.755,583.091C 473.666,583.737 453.269,582.022 453.198,579.261C 453.126,576.5 473.408,573.738 498.498,573.092 Z ">
<Path.Fill>
<RadialGradientBrush RadiusX="0.537183" RadiusY="0.467209" Center="0.5,0.5" GradientOrigin="0.5,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#34FEFFEF" Offset="0"/>
<GradientStop Color="#00FFFFFF" Offset="1"/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.5" CenterY="0.5" AngleX="-11.747" AngleY="0"/>
<RotateTransform CenterX="0.5" CenterY="0.5" Angle="-37.4085"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Path.Fill>
</Path>
<Viewbox x:Name="Group_21" Width="200.264" Height="62.7319" Canvas.Left="142.45" Canvas.Top="575.104">
<Canvas Width="200.264" Height="62.7319">
<Path x:Name="Path_22" Width="11.731" Height="25.6144" Canvas.Left="0" Canvas.Top="17.9509" Stretch="Fill" StrokeThickness="3" StrokeLineJoin="Round" Stroke="#FF3E3E3E" Data="F1 M 10.1172,19.4509L 1.5,21.2192L 1.5,40.5688L 10.231,42.0653L 10.1172,19.4509 Z ">
<Path.Fill>
<LinearGradientBrush StartPoint="0.689922,0.114267" EndPoint="0.689922,0.905237">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FF585858" Offset="0.0169492"/>
<GradientStop Color="#FF8E8E8E" Offset="0.182203"/>
<GradientStop Color="#FF585858" Offset="0.516949"/>
<GradientStop Color="#FF464544" Offset="1"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Path.Fill>
</Path>
<Path x:Name="Path_23" Width="192.147" Height="62.7319" Canvas.Left="8.11722" Canvas.Top="0" Stretch="Fill" StrokeThickness="4" StrokeLineJoin="Round" Stroke="#FF363332" Fill="#FF817E7C" Data="F1 M 104.475,2C 127.792,2 176.411,18.5041 198.264,33.5286C 178.421,45.0245 130.518,60.7319 105.841,60.7319C 81.1646,60.7319 17.7283,49.5626 10.231,42.0653C 10.231,37.5212 10.1172,25.2942 10.1172,19.4509C 18.5257,11.0424 81.1589,2 104.475,2 Z "/>
<Path x:Name="Path_24" Width="179.331" Height="34.8774" Canvas.Left="13.4322" Canvas.Top="5.37793" Stretch="Fill" Fill="#FFB09F99" Data="F1 M 103.324,5.37909C 126.089,5.22729 171.936,19.9673 192.763,33.2603C 165.446,39.9026 129.236,40.2554 104.683,40.2554C 80.1292,40.2554 25.7741,36.2799 13.4443,30.6805C 13.4082,27.3864 13.4642,23.2401 13.4642,20.7982C 27.1044,12.1894 80.56,5.53082 103.324,5.37909 Z "/>
<Path x:Name="Path_25" Width="145.843" Height="14.1011" Canvas.Left="16.6681" Canvas.Top="7.72522" Stretch="Fill" Fill="#FFD1B6AB" Data="F1 M 162.511,21.8263C 162.511,21.8263 131.288,13.5681 108.576,13.5681C 78.7388,13.5681 16.6681,21.0106 16.6681,21.0106C 16.6681,21.0106 59.1985,7.72522 105.958,7.72522C 128.972,8.01593 156.236,19.0059 162.511,21.8263 Z "/>
<Path x:Name="Path_26" Width="145.276" Height="14.8925" Canvas.Left="15.7732" Canvas.Top="42.2313" Stretch="Fill" Fill="#FF9E9E9E" Data="F1 M 161.048,45.8934C 161.048,45.8934 135.378,53.3298 107.969,53.3298C 80.5595,53.3298 45.1012,47.5755 15.7732,42.2313C 15.7732,42.2313 62.9469,57.1238 110.473,57.1238C 128.609,57.1238 161.351,45.8934 161.048,45.8934 Z "/>
<Path x:Name="Path_27" Width="28.2342" Height="4.52205" Canvas.Left="90.6867" Canvas.Top="8.52896" Stretch="Fill" Data="F1 M 104.879,8.58112C 112.675,8.84662 118.962,10.0507 118.921,11.2706C 118.879,12.4905 112.525,13.2643 104.729,12.9988C 96.932,12.7334 90.6453,11.5292 90.6869,10.3093C 90.7284,9.08942 97.0824,8.31567 104.879,8.58112 Z ">
<Path.Fill>
<RadialGradientBrush RadiusX="0.450586" RadiusY="0.55923" Center="0.5,0.5" GradientOrigin="0.5,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#7CFEFFEF" Offset="0"/>
<GradientStop Color="#00FFFFFF" Offset="1"/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.5" CenterY="0.5" AngleX="3.24367" AngleY="0"/>
<RotateTransform CenterX="0.5" CenterY="0.5" Angle="-17.9673"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Path.Fill>
</Path>
<Path x:Name="Path_28" Width="31.0251" Height="3.50727" Canvas.Left="88.5359" Canvas.Top="53.8298" Stretch="Fill" Data="F1 M 104.005,53.8762C 112.572,53.6557 119.537,54.2413 119.561,55.1841C 119.585,56.127 112.66,57.0701 104.092,57.2906C 95.5251,57.511 88.5603,56.9255 88.536,55.9826C 88.5117,55.0398 95.4373,54.0967 104.005,53.8762 Z ">
<Path.Fill>
<RadialGradientBrush RadiusX="0.53719" RadiusY="0.467221" Center="0.5,0.500011" GradientOrigin="0.5,0.500011">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#34FEFFEF" Offset="0"/>
<GradientStop Color="#00FFFFFF" Offset="1"/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.5" CenterY="0.500011" AngleX="-11.7491" AngleY="0"/>
<RotateTransform CenterX="0.5" CenterY="0.500011" Angle="-37.4096"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Path.Fill>
</Path>
</Canvas>
</Viewbox>
<Ellipse x:Name="Ellipse_29" Width="74.6667" Height="82.6667" Canvas.Left="104.603" Canvas.Top="561.987" Stretch="Fill">
<Ellipse.Fill>
<RadialGradientBrush RadiusX="0.573661" RadiusY="0.518145" Center="0.5,0.5" GradientOrigin="0.5,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#8FFFC63A" Offset="0"/>
<GradientStop Color="#00FF5F1E" Offset="1"/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
</Canvas>
<Canvas x:Name="Face_Girl_3" d:IsLayer="True" Width="800" Height="800" Canvas.Left="0" Canvas.Top="0">
<Ellipse x:Name="Ellipse_30" Width="137.778" Height="64.8889" Canvas.Left="265.986" Canvas.Top="441.722" Stretch="Fill" StrokeThickness="8" StrokeLineJoin="Round" Stroke="#56FFFFFF" Fill="#C7000000"/>
<Path x:Name="Path_31" Width="104.333" Height="61.6667" Canvas.Left="281.043" Canvas.Top="433.003" Stretch="Fill" StrokeThickness="3" StrokeLineJoin="Round" Stroke="#FF263627" Data="F1 M 333.21,434.503C 361.193,434.503 383.877,449.725 383.877,468.503C 383.877,487.281 360.115,493.17 332.132,493.17C 304.15,493.17 282.543,487.281 282.543,468.503C 282.543,449.725 305.228,434.503 333.21,434.503 Z ">
<Path.Fill>
<RadialGradientBrush RadiusX="0.65" RadiusY="0.630229" Center="0.5,0.376825" GradientOrigin="0.5,0.376825">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FE72B567" Offset="0"/>
<GradientStop Color="#FE215337" Offset="1"/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Path.Fill>
</Path>
<Path x:Name="Path_32" Width="191.66" Height="171.395" Canvas.Left="235.077" Canvas.Top="289.707" Stretch="Fill" StrokeThickness="3" StrokeLineJoin="Round" Stroke="#FF44301E" Data="F1 M 330.907,291.207C 383.004,291.207 425.237,331.578 425.237,381.378C 425.237,431.178 383.969,459.602 331.872,459.602C 279.775,459.602 236.577,431.178 236.577,381.378C 236.577,331.578 278.81,291.207 330.907,291.207 Z ">
<Path.Fill>
<RadialGradientBrush RadiusX="0.771455" RadiusY="0.689885" Center="0.510516,0.167781" GradientOrigin="0.510516,0.167781">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FEFFFAE8" Offset="0"/>
<GradientStop Color="#FEFFEEBB" Offset="0.139831"/>
<GradientStop Color="#FFCB9F77" Offset="0.788136"/>
<GradientStop Color="#FFA45A42" Offset="1"/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterX="0.510516" CenterY="0.167781" Angle="90"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Path.Fill>
</Path>
<Viewbox x:Name="Group_33" Width="33.5947" Height="48.518" Canvas.Left="254.599" Canvas.Top="366.017">
<Canvas Width="33.5947" Height="48.518">
<Viewbox x:Name="Group_34" Width="26.4369" Height="48.518" Canvas.Left="7.15782" Canvas.Top="0">
<Canvas Width="26.4369" Height="48.518">
<Path x:Name="Path_35" Width="24.7215" Height="24.1663" Canvas.Left="1.33684" Canvas.Top="24.3516" Stretch="Fill" StrokeThickness="1.34774" StrokeLineJoin="Round" Stroke="#FF000000" Data="F1 M 13.6917,25.0255C 7.24042,25.0255 2.01071,30.1336 2.01071,36.4348C 2.01071,42.736 7.24042,47.8441 13.6917,47.8441C 20.1429,47.8441 25.6758,45.4245 25.3726,39.1302C 24.9101,29.528 20.1429,25.0255 13.6917,25.0255 Z ">
<Path.Fill>
<LinearGradientBrush StartPoint="0.499736,0.0456107" EndPoint="1.45157,0.0456107">
<LinearGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.499736" CenterY="0.0456107" AngleX="-0.0377889" AngleY="0"/>
<RotateTransform CenterX="0.499736" CenterY="0.0456107" Angle="90.8116"/>
</TransformGroup>
</LinearGradientBrush.RelativeTransform>
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FE232531" Offset="0"/>
<GradientStop Color="#FE7976BC" Offset="1"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Path.Fill>
</Path>
<Path x:Name="Path_36" Width="16" Height="15.4446" Canvas.Left="6.09003" Canvas.Top="28.5982" Stretch="Fill" Fill="#FF000000" Data="F1 M 14.09,28.5982C 9.6716,28.5982 6.09003,32.0555 6.09003,36.3206C 6.09003,40.5855 9.67172,44.0428 14.09,44.0428C 18.5083,44.0428 22.09,40.5855 22.09,36.3206C 22.09,32.0555 18.5084,28.5982 14.09,28.5982 Z "/>
<Path x:Name="Path_37" Width="5.73462" Height="5.73459" Canvas.Left="5.85938" Canvas.Top="29.1003" Stretch="Fill" Fill="#FFFFFFFF" Data="F1 M 8.72668,29.1003C 7.14307,29.1003 5.85938,30.3839 5.85938,31.9675C 5.85938,33.5511 7.14313,34.8348 8.72668,34.8348C 10.3103,34.8348 11.594,33.5511 11.594,31.9675C 11.594,30.3839 10.3103,29.1003 8.72668,29.1003 Z "/>
<Path x:Name="Path_38" Width="25.7078" Height="9.70916" Canvas.Left="0.729128" Canvas.Top="2.04048" Stretch="Fill" Fill="#FF6E4A29" Data="F1 M 0.781708,11.7316C 0,12.0475 8.11124,8.1297 13.3537,7.02795C 19.1853,5.80231 26.4369,7.15393 26.4369,7.15393C 26.4369,7.15393 22.1722,0 11.0958,2.61563C 7.86926,3.37756 3.99216,6.67969 0.781708,11.7316 Z "/>
</Canvas>
</Viewbox>
<Path x:Name="Path_39" Width="27.3284" Height="10.9924" Canvas.Left="1.85355" Canvas.Top="17.6978" Stretch="Fill" Fill="#FF000000" Data="F1 M 21.7164,24.5301C 21.64,24.1081 3.31609,26.4581 4.43919,17.6978C 2.41759,18.8957 0,27.4541 4.04323,27.4541C 7.0432,28.0096 24.8905,24.093 29.182,28.6902C 26.5988,26.093 23.7237,25.2319 21.7164,24.5301 Z "/>
</Canvas>
</Viewbox>
<Path x:Name="Path_40" Width="182.996" Height="76.9279" Canvas.Left="240.567" Canvas.Top="326.602" Stretch="Fill" Fill="#71673902" Data="F1 M 423.435,390.56C 415.614,362.86 403.392,353.221 393.17,348.748C 376.059,360.554 319.614,379.388 262.448,350.554C 248.448,361.221 243.866,393.627 240.87,403.53C 238.203,395.696 254.037,333.231 254.037,333.231C 254.037,333.231 308.458,326.602 311.784,326.602C 315.109,326.602 393.415,327.206 393.415,327.206C 393.415,327.206 425.853,362.14 423.435,390.56 Z "/>
<Path x:Name="Path_41" Width="21.725" Height="7.79736" Canvas.Left="321.823" Canvas.Top="431.013" Stretch="Fill" StrokeThickness="2.1433" StrokeLineJoin="Round" Stroke="#FF824F39" Fill="#FFB56654" Data="F1 M 322.895,432.084C 322.895,432.084 341.814,432.168 342.477,432.084C 342.477,432.084 338.866,437.738 332.686,437.738C 326.529,437.738 322.895,432.084 322.895,432.084 Z "/>
<Path x:Name="Path_42" Width="206.588" Height="152.383" Canvas.Left="229.208" Canvas.Top="273.255" Stretch="Fill" StrokeThickness="3" StrokeLineJoin="Round" Stroke="#FF4F5518" Fill="#FFDFBF5A" Data="F1 M 421.837,381.749C 423.128,395.382 421.614,414.138 415.114,424.138C 431.781,415.304 439.459,370.782 430.537,343.641C 421.615,316.499 393.42,274.755 330.529,274.755C 267.101,274.755 240.948,322.054 233.392,348.721C 225.837,375.388 235.726,413.055 244.614,422.971C 237.468,398.337 239.726,367.277 264.614,340.193C 265.105,339.66 265.615,343.916 263.392,346.388C 273.837,354.61 316.391,360.327 326.17,360.971C 328.788,361.143 330.866,356.413 331.021,353.356C 331.388,356.243 333.413,361.232 335.618,361.133C 368.69,359.645 389.988,345.602 393.059,342.721C 391.948,339.472 391.011,335.664 391.837,335.86C 392.835,336.097 417.926,359.605 421.837,381.749 Z "/>
<Path x:Name="Path_43" Width="173.845" Height="55.8271" Canvas.Left="245.939" Canvas.Top="278.365" Stretch="Fill" Fill="#5EFCFFC1" Data="F1 M 330.238,278.433C 357.759,277.641 394.69,283.097 419.784,334.192C 410.509,326.837 384.716,304.865 330.594,304.865C 276.474,304.865 253.741,324.707 245.939,330.564C 265.591,289.446 309.571,278.433 330.238,278.433 Z "/>
<Path x:Name="Path_44" Width="38.4698" Height="27.8335" Canvas.Left="360.477" Canvas.Top="417.173" Stretch="Fill" Data="F1 M 374.573,420.392C 364.339,425.308 358.343,434.082 361.181,439.991C 364.019,445.899 374.616,446.704 384.85,441.788C 395.084,436.872 401.08,428.098 398.243,422.189C 395.405,416.281 384.808,415.476 374.573,420.392 Z ">
<Path.Fill>
<RadialGradientBrush RadiusX="0.483498" RadiusY="0.485662" Center="0.500001,0.500001" GradientOrigin="0.500001,0.500001">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#80F73939" Offset="0"/>
<GradientStop Color="#00B06F55" Offset="1"/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.500001" CenterY="0.500001" AngleX="-18.5302" AngleY="0"/>
<RotateTransform CenterX="0.500001" CenterY="0.500001" Angle="168.975"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Path.Fill>
</Path>
<Path x:Name="Path_45" Width="36.8711" Height="26.6768" Canvas.Left="264.906" Canvas.Top="417.751" Stretch="Fill" Data="F1 M 288.266,420.836C 298.075,425.548 303.822,433.958 301.102,439.62C 298.382,445.283 288.226,446.054 278.417,441.343C 268.608,436.632 262.861,428.222 265.581,422.559C 268.301,416.896 278.457,416.125 288.266,420.836 Z ">
<Path.Fill>
<RadialGradientBrush RadiusX="0.483497" RadiusY="0.485662" Center="0.5,0.500001" GradientOrigin="0.5,0.500001">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#80F73939" Offset="0"/>
<GradientStop Color="#00B06F55" Offset="1"/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.5" CenterY="0.500001" AngleX="18.5301" AngleY="0"/>
<RotateTransform CenterX="0.5" CenterY="0.500001" Angle="11.0253"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Path.Fill>
</Path>

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved