{"id":492,"date":"2007-10-25T17:10:59","date_gmt":"2007-10-25T09:10:59","guid":{"rendered":"http:\/\/fdream.net\/blog\/article\/492.aspx"},"modified":"2007-10-25T17:10:43","modified_gmt":"2007-10-25T09:10:43","slug":"Path%e7%9a%84Stroke%e5%92%8cFill%e5%b1%9e%e6%80%a7%e4%b8%8d%e8%83%bd%e6%8c%87%e5%90%91%e5%90%8c%e4%b8%80%e4%b8%aaSolidColorBrush%e5%af%b9%e8%b1%a1%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fdream.net\/blog\/article\/492","title":{"rendered":"Path\u7684Stroke\u548cFill\u5c5e\u6027\u4e0d\u80fd\u6307\u5411\u540c\u4e00\u4e2aSolidColorBrush\u5bf9\u8c61\uff1f"},"content":{"rendered":"<p>\u4eca\u5929\u78b0\u5230\u8fd9\u4e2aBT\u7684\u95ee\u9898\uff0c\u5bf9\u4e8e\u4e24\u4e2aPath\u5bf9\u8c61\uff0c\u50cf\u4e0b\u9762\u8fd9\u6837\u5199\u7684\u65f6\u5019\uff0c\u7b2c\u4e8c\u884c\u5c45\u7136\u65e0\u6548\uff01<\/p>\n<blockquote>\n<p>SolidColorBrush scb = new SolidColorBrush(CommonApp.Instance.PathColor);<br \/>pathA.Stroke = scb;<br \/>pathB.Stroke = scb;    \/\/\u6b64\u53e5\u5c45\u7136\u6ca1\u6709\u4efb\u4f55\u4f5c\u7528\u2026\u2026<\/p>\n<\/blockquote>\n<p>\u540c\u6837\uff0cPath\u7684Fill\u5c5e\u6027\u5b58\u5728\u540c\u6837\u7684\u95ee\u9898\u3002\u800c\u5bf9\u4e8eRectangle\u7b49\u5bf9\u8c61\u8fd9\u6837\u5199\u5219\u6ca1\u6709\u4ec0\u4e48\u95ee\u9898\uff0c\u771f\u662f\u5947\u602a&#8230;<\/p>\n<blockquote>\n<p>SolidColorBrush scb = new SolidColorBrush(CommonApp.Instance.RectangleColor);<br \/>rectangleA.Fill = scb;<br \/>rectangleB.Fill = scb; <\/p>\n<\/blockquote>\n<p>\u8fd9\u662f\u4e3a\u4ec0\u4e48\u5462\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u78b0\u5230\u8fd9\u4e2aBT\u7684\u95ee\u9898\uff0c\u5bf9\u4e8e\u4e24\u4e2aPath\u5bf9\u8c61\uff0c\u50cf\u4e0b\u9762\u8fd9\u6837\u5199\u7684\u65f6\u5019\uff0c\u7b2c\u4e8c\u884c\u5c45\u7136\u65e0\u6548\uff01 SolidColorBrush scb = new SolidColorBrush(CommonApp.Instance.PathColor);pathA.Stroke = scb;pathB.Stroke = scb; \/\/\u6b64\u53e5\u5c45\u7136\u6ca1\u6709\u4efb\u4f55\u4f5c\u7528\u2026\u2026 \u540c\u6837\uff0cPath\u7684Fill\u5c5e\u6027\u5b58\u5728\u540c\u6837\u7684\u95ee\u9898\u3002\u800c\u5bf9\u4e8eRectangle\u7b49\u5bf9\u8c61\u8fd9\u6837\u5199\u5219\u6ca1\u6709\u4ec0\u4e48\u95ee\u9898\uff0c\u771f\u662f\u5947\u602a&#8230; SolidColorBrush scb = new SolidColorBrush(CommonApp.Instance.RectangleColor);rectangleA.Fill = scb;rectangleB.Fill = scb; \u8fd9\u662f\u4e3a\u4ec0\u4e48\u5462\uff1f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[294],"class_list":["post-492","post","type-post","status-publish","format-standard","hentry","category-coding","tag-Silverlight"],"views":23217,"_links":{"self":[{"href":"https:\/\/fdream.net\/blog\/wp-json\/wp\/v2\/posts\/492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fdream.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fdream.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fdream.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fdream.net\/blog\/wp-json\/wp\/v2\/comments?post=492"}],"version-history":[{"count":0,"href":"https:\/\/fdream.net\/blog\/wp-json\/wp\/v2\/posts\/492\/revisions"}],"wp:attachment":[{"href":"https:\/\/fdream.net\/blog\/wp-json\/wp\/v2\/media?parent=492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fdream.net\/blog\/wp-json\/wp\/v2\/categories?post=492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fdream.net\/blog\/wp-json\/wp\/v2\/tags?post=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}