pascalabcnet/PABCNetHelp/PABCUnits/WPFObjects/Files/Class RoundRectWPF.html

45 lines
3.5 KiB
HTML

<HTML><HEAD><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<param name="Keyword" value="RoundRadius">
<param name="Keyword" value="RoundRectWPF">
<param name="Keyword" value="WithBorder">
<param name="Keyword" value="WithNoBorder">
<param name="Keyword" value="WithRotate">
<param name="Keyword" value="WithText"></object>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><link rel="StyleSheet" href="../../../default.css">
</HEAD><body><H1>Êëàññ RoundRectWPF</H1>Êëàññ ãðàôè÷åñêèõ îáúåêòîâ "Ïðÿìîóãîëüíèê ñî ñêðóãëåííûìè êðàÿìè". Áàçîâûé êëàññ - <code>BoundedObjectWPF</code>.
<table border=0 cellpadding=5><tr><td></td></tr><tr><td class="secttitle"><font style="font-size: 11pt">Êîíñòðóêòîðû êëàññà RoundRectWPF</font></td></tr>
<tr><tr><td><code><b>constructor</b> (x,y,w,h,r: real; c: GColor);</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ñîçäàåò ïðÿìîóãîëüíèê ñî ñêðóãëåííûìè êðàÿìè ðàçìåðà (w,h) ñ ðàäèóñîì ñêðóãëåíèÿ r çàäàííîãî öâåòà ñ êîîðäèíàòàìè ëåâîãî âåðõíåãî óãëà (x,y)</td></tr>
<tr><td><code><b>constructor</b> (p: Point; w,h,r: real; c: GColor);</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ñîçäàåò ïðÿìîóãîëüíèê ñî ñêðóãëåííûìè êðàÿìè ðàçìåðà (w,h) ñ ðàäèóñîì ñêðóãëåíèÿ r çàäàííîãî öâåòà ñ êîîðäèíàòàìè ëåâîãî âåðõíåãî óãëà, çàäàâàåìûìè òî÷êîé</td></tr>
</tr><tr><td></td></tr><tr><td class="secttitle"><font style="font-size: 11pt">Ñâîéñòâà êëàññà RoundRectWPF</font></td></tr>
<tr><tr><td><code><b>property</b> RoundRadius: real;</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ðàäèóñ ñêðóãëåíèÿ</td></tr>
</tr><tr><td></td></tr><tr><td class="secttitle"><font style="font-size: 11pt">Ìåòîäû êëàññà RoundRectWPF</font></td></tr>
<tr><tr><td><code><b>function</b> WithBorder(w: real := -1);</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Äåêîðàòîð âêëþ÷åíèÿ ãðàíèöû îáúåêòà</td></tr>
<tr><td><code><b>function</b> WithNoBorder;</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Äåêîðàòîð âûêëþ÷åíèÿ ãðàíèöû îáúåêòà</td></tr>
<tr><td><code><b>function</b> WithRotate(da: real): RoundRectWPF;</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Äåêîðàòîð ïîâîðîòà îáúåêòà</td></tr>
<tr><td><code><b>function</b> WithText(txt: string; size: real := 16; fontname: string := 'Arial'; c: GColor := Colors.Black): RoundRectWPF;</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Äåêîðàòîð òåêñòà îáúåêòà</td></tr>
</tr><tr><td></td></tr><tr><td class="secttitle"><font style="font-size: 11pt">Ñâîéñòâà áàçîâîãî êëàññà BoundedObjectWPF</font></td></tr>
<tr><tr><td><code><b>property</b> BorderColor: GColor;</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Öâåò ãðàíèöû ãðàôè÷åñêîãî îáúåêòà</td></tr>
<tr><td><code><b>property</b> BorderWidth: real;</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Øèðèíà ãðàíèöû ãðàôè÷åñêîãî îáúåêòà</td></tr>
<tr><td><code><b>property</b> Color: GColor;</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Öâåò ãðàôè÷åñêîãî îáúåêòà</td></tr>
</tr><tr><td></td></tr><tr><td class="secttitle"><font style="font-size: 11pt">Ìåòîäû áàçîâîãî êëàññà BoundedObjectWPF</font></td></tr>
<tr><tr><td><code><b>function</b> WithBorder(w: real := -1): BoundedObjectWPF;</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Äåêîðàòîð âêëþ÷åíèÿ ãðàíèöû îáúåêòà</td></tr>
<tr><td><code><b>function</b> WithNoBorder: BoundedObjectWPF;</code>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Äåêîðàòîð âûêëþ÷åíèÿ ãðàíèöû îáúåêòà</td></tr>
</tr></table>
</body></HTML>