FXGraphics2D.html 112 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_05) on Thu Jul 31 14:50:31 CEST 2014 -->
  6. <title>FXGraphics2D (JFreeChart Class Library (version 1.0.19-fx))</title>
  7. <meta name="date" content="2014-07-31">
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="FXGraphics2D (JFreeChart Class Library (version 1.0.19-fx))";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="class-use/FXGraphics2D.html">Use</a></li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  46. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  47. <li><a href="../../../../help-doc.html">Help</a></li>
  48. </ul>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../../../../org/jfree/chart/fx/ChartViewerSkin.html" title="class in org.jfree.chart.fx"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li>Next&nbsp;Class</li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../index.html?org/jfree/chart/fx/FXGraphics2D.html" target="_top">Frames</a></li>
  57. <li><a href="FXGraphics2D.html" target="_top">No&nbsp;Frames</a></li>
  58. </ul>
  59. <ul class="navList" id="allclasses_navbar_top">
  60. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  61. </ul>
  62. <div>
  63. <script type="text/javascript"><!--
  64. allClassesLink = document.getElementById("allclasses_navbar_top");
  65. if(window==top) {
  66. allClassesLink.style.display = "block";
  67. }
  68. else {
  69. allClassesLink.style.display = "none";
  70. }
  71. //-->
  72. </script>
  73. </div>
  74. <div>
  75. <ul class="subNavList">
  76. <li>Summary:&nbsp;</li>
  77. <li>Nested&nbsp;|&nbsp;</li>
  78. <li>Field&nbsp;|&nbsp;</li>
  79. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  80. <li><a href="#method.summary">Method</a></li>
  81. </ul>
  82. <ul class="subNavList">
  83. <li>Detail:&nbsp;</li>
  84. <li>Field&nbsp;|&nbsp;</li>
  85. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  86. <li><a href="#method.detail">Method</a></li>
  87. </ul>
  88. </div>
  89. <a name="skip.navbar.top">
  90. <!-- -->
  91. </a></div>
  92. <!-- ========= END OF TOP NAVBAR ========= -->
  93. <!-- ======== START OF CLASS DATA ======== -->
  94. <div class="header">
  95. <div class="subTitle">org.jfree.chart.fx</div>
  96. <h2 title="Class FXGraphics2D" class="title">Class FXGraphics2D</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <ul class="inheritance">
  100. <li>java.lang.Object</li>
  101. <li>
  102. <ul class="inheritance">
  103. <li>java.awt.Graphics</li>
  104. <li>
  105. <ul class="inheritance">
  106. <li>java.awt.Graphics2D</li>
  107. <li>
  108. <ul class="inheritance">
  109. <li>org.jfree.chart.fx.FXGraphics2D</li>
  110. </ul>
  111. </li>
  112. </ul>
  113. </li>
  114. </ul>
  115. </li>
  116. </ul>
  117. <div class="description">
  118. <ul class="blockList">
  119. <li class="blockList">
  120. <hr>
  121. <br>
  122. <pre>public class <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.108">FXGraphics2D</a>
  123. extends java.awt.Graphics2D</pre>
  124. <div class="block">A <code>Graphics2D</code> implementation that writes to a JavaFX <code>Canvas</code>.
  125. This class is copied directly from the FXGraphics2D project, we keep a local
  126. copy to avoid having a dependency to manage.</div>
  127. <dl>
  128. <dt><span class="simpleTagLabel">Since:</span></dt>
  129. <dd>1.0.18</dd>
  130. </dl>
  131. </li>
  132. </ul>
  133. </div>
  134. <div class="summary">
  135. <ul class="blockList">
  136. <li class="blockList">
  137. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  138. <ul class="blockList">
  139. <li class="blockList"><a name="constructor.summary">
  140. <!-- -->
  141. </a>
  142. <h3>Constructor Summary</h3>
  143. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  144. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  145. <tr>
  146. <th class="colOne" scope="col">Constructor and Description</th>
  147. </tr>
  148. <tr class="altColor">
  149. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#FXGraphics2D-javafx.scene.canvas.GraphicsContext-">FXGraphics2D</a></span>(javafx.scene.canvas.GraphicsContext&nbsp;gc)</code>
  150. <div class="block">Creates a new instance that will render to the specified JavaFX
  151. <code>GraphicsContext</code>.</div>
  152. </td>
  153. </tr>
  154. </table>
  155. </li>
  156. </ul>
  157. <!-- ========== METHOD SUMMARY =========== -->
  158. <ul class="blockList">
  159. <li class="blockList"><a name="method.summary">
  160. <!-- -->
  161. </a>
  162. <h3>Method Summary</h3>
  163. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  164. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  165. <tr>
  166. <th class="colFirst" scope="col">Modifier and Type</th>
  167. <th class="colLast" scope="col">Method and Description</th>
  168. </tr>
  169. <tr id="i0" class="altColor">
  170. <td class="colFirst"><code>void</code></td>
  171. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#addRenderingHints-java.util.Map-">addRenderingHints</a></span>(java.util.Map&lt;?,?&gt;&nbsp;hints)</code>
  172. <div class="block">Adds all the supplied rendering hints.</div>
  173. </td>
  174. </tr>
  175. <tr id="i1" class="rowColor">
  176. <td class="colFirst"><code>void</code></td>
  177. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#clearRect-int-int-int-int-">clearRect</a></span>(int&nbsp;x,
  178. int&nbsp;y,
  179. int&nbsp;width,
  180. int&nbsp;height)</code>
  181. <div class="block">Clears the specified rectangle by filling it with the current
  182. background color.</div>
  183. </td>
  184. </tr>
  185. <tr id="i2" class="altColor">
  186. <td class="colFirst"><code>void</code></td>
  187. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#clip-java.awt.Shape-">clip</a></span>(java.awt.Shape&nbsp;s)</code>
  188. <div class="block">Clips to the intersection of the current clipping region and the
  189. specified shape.</div>
  190. </td>
  191. </tr>
  192. <tr id="i3" class="rowColor">
  193. <td class="colFirst"><code>void</code></td>
  194. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#clipRect-int-int-int-int-">clipRect</a></span>(int&nbsp;x,
  195. int&nbsp;y,
  196. int&nbsp;width,
  197. int&nbsp;height)</code>
  198. <div class="block">Clips to the intersection of the current clipping region and the
  199. specified rectangle.</div>
  200. </td>
  201. </tr>
  202. <tr id="i4" class="altColor">
  203. <td class="colFirst"><code>void</code></td>
  204. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#copyArea-int-int-int-int-int-int-">copyArea</a></span>(int&nbsp;x,
  205. int&nbsp;y,
  206. int&nbsp;width,
  207. int&nbsp;height,
  208. int&nbsp;dx,
  209. int&nbsp;dy)</code>
  210. <div class="block">Not yet implemented.</div>
  211. </td>
  212. </tr>
  213. <tr id="i5" class="rowColor">
  214. <td class="colFirst"><code>java.awt.Graphics</code></td>
  215. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#create--">create</a></span>()</code>
  216. <div class="block">Creates a new graphics object that is a copy of this graphics object.</div>
  217. </td>
  218. </tr>
  219. <tr id="i6" class="altColor">
  220. <td class="colFirst"><code>java.awt.geom.GeneralPath</code></td>
  221. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#createPolygon-int:A-int:A-int-boolean-">createPolygon</a></span>(int[]&nbsp;xPoints,
  222. int[]&nbsp;yPoints,
  223. int&nbsp;nPoints,
  224. boolean&nbsp;close)</code>
  225. <div class="block">Creates a polygon from the specified <code>x</code> and
  226. <code>y</code> coordinate arrays.</div>
  227. </td>
  228. </tr>
  229. <tr id="i7" class="rowColor">
  230. <td class="colFirst"><code>void</code></td>
  231. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#dispose--">dispose</a></span>()</code>
  232. <div class="block">This method does nothing.</div>
  233. </td>
  234. </tr>
  235. <tr id="i8" class="altColor">
  236. <td class="colFirst"><code>void</code></td>
  237. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#draw-java.awt.Shape-">draw</a></span>(java.awt.Shape&nbsp;s)</code>
  238. <div class="block">Draws the specified shape with the current <code>paint</code> and
  239. <code>stroke</code>.</div>
  240. </td>
  241. </tr>
  242. <tr id="i9" class="rowColor">
  243. <td class="colFirst"><code>void</code></td>
  244. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawArc-int-int-int-int-int-int-">drawArc</a></span>(int&nbsp;x,
  245. int&nbsp;y,
  246. int&nbsp;width,
  247. int&nbsp;height,
  248. int&nbsp;startAngle,
  249. int&nbsp;arcAngle)</code>
  250. <div class="block">Draws an arc contained within the rectangle
  251. <code>(x, y, width, height)</code>, starting at <code>startAngle</code>
  252. and continuing through <code>arcAngle</code> degrees using
  253. the current <code>paint</code> and <code>stroke</code>.</div>
  254. </td>
  255. </tr>
  256. <tr id="i10" class="altColor">
  257. <td class="colFirst"><code>void</code></td>
  258. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawGlyphVector-java.awt.font.GlyphVector-float-float-">drawGlyphVector</a></span>(java.awt.font.GlyphVector&nbsp;g,
  259. float&nbsp;x,
  260. float&nbsp;y)</code>
  261. <div class="block">Draws the specified glyph vector at the location <code>(x, y)</code>.</div>
  262. </td>
  263. </tr>
  264. <tr id="i11" class="rowColor">
  265. <td class="colFirst"><code>void</code></td>
  266. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawImage-java.awt.image.BufferedImage-java.awt.image.BufferedImageOp-int-int-">drawImage</a></span>(java.awt.image.BufferedImage&nbsp;img,
  267. java.awt.image.BufferedImageOp&nbsp;op,
  268. int&nbsp;x,
  269. int&nbsp;y)</code>
  270. <div class="block">Draws the image resulting from applying the <code>BufferedImageOp</code>
  271. to the specified image at the location <code>(x, y)</code>.</div>
  272. </td>
  273. </tr>
  274. <tr id="i12" class="altColor">
  275. <td class="colFirst"><code>boolean</code></td>
  276. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawImage-java.awt.Image-java.awt.geom.AffineTransform-java.awt.image.ImageObserver-">drawImage</a></span>(java.awt.Image&nbsp;img,
  277. java.awt.geom.AffineTransform&nbsp;xform,
  278. java.awt.image.ImageObserver&nbsp;obs)</code>
  279. <div class="block">Draws an image with the specified transform.</div>
  280. </td>
  281. </tr>
  282. <tr id="i13" class="rowColor">
  283. <td class="colFirst"><code>boolean</code></td>
  284. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawImage-java.awt.Image-int-int-java.awt.Color-java.awt.image.ImageObserver-">drawImage</a></span>(java.awt.Image&nbsp;img,
  285. int&nbsp;x,
  286. int&nbsp;y,
  287. java.awt.Color&nbsp;bgcolor,
  288. java.awt.image.ImageObserver&nbsp;observer)</code>
  289. <div class="block">Draws an image at the location <code>(x, y)</code>.</div>
  290. </td>
  291. </tr>
  292. <tr id="i14" class="altColor">
  293. <td class="colFirst"><code>boolean</code></td>
  294. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawImage-java.awt.Image-int-int-java.awt.image.ImageObserver-">drawImage</a></span>(java.awt.Image&nbsp;img,
  295. int&nbsp;x,
  296. int&nbsp;y,
  297. java.awt.image.ImageObserver&nbsp;observer)</code>
  298. <div class="block">Draws an image at the location <code>(x, y)</code>.</div>
  299. </td>
  300. </tr>
  301. <tr id="i15" class="rowColor">
  302. <td class="colFirst"><code>boolean</code></td>
  303. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawImage-java.awt.Image-int-int-int-int-java.awt.Color-java.awt.image.ImageObserver-">drawImage</a></span>(java.awt.Image&nbsp;img,
  304. int&nbsp;x,
  305. int&nbsp;y,
  306. int&nbsp;w,
  307. int&nbsp;h,
  308. java.awt.Color&nbsp;bgcolor,
  309. java.awt.image.ImageObserver&nbsp;observer)</code>
  310. <div class="block">Draws an image to the rectangle <code>(x, y, w, h)</code> (scaling it if
  311. required), first filling the background with the specified color.</div>
  312. </td>
  313. </tr>
  314. <tr id="i16" class="altColor">
  315. <td class="colFirst"><code>boolean</code></td>
  316. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawImage-java.awt.Image-int-int-int-int-java.awt.image.ImageObserver-">drawImage</a></span>(java.awt.Image&nbsp;img,
  317. int&nbsp;x,
  318. int&nbsp;y,
  319. int&nbsp;width,
  320. int&nbsp;height,
  321. java.awt.image.ImageObserver&nbsp;observer)</code>
  322. <div class="block">Draws an image at the location <code>(x, y)</code>.</div>
  323. </td>
  324. </tr>
  325. <tr id="i17" class="rowColor">
  326. <td class="colFirst"><code>boolean</code></td>
  327. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawImage-java.awt.Image-int-int-int-int-int-int-int-int-java.awt.Color-java.awt.image.ImageObserver-">drawImage</a></span>(java.awt.Image&nbsp;img,
  328. int&nbsp;dx1,
  329. int&nbsp;dy1,
  330. int&nbsp;dx2,
  331. int&nbsp;dy2,
  332. int&nbsp;sx1,
  333. int&nbsp;sy1,
  334. int&nbsp;sx2,
  335. int&nbsp;sy2,
  336. java.awt.Color&nbsp;bgcolor,
  337. java.awt.image.ImageObserver&nbsp;observer)</code>
  338. <div class="block">Draws part of an image (defined by the source rectangle
  339. <code>(sx1, sy1, sx2, sy2)</code>) into the destination rectangle
  340. <code>(dx1, dy1, dx2, dy2)</code>.</div>
  341. </td>
  342. </tr>
  343. <tr id="i18" class="altColor">
  344. <td class="colFirst"><code>boolean</code></td>
  345. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawImage-java.awt.Image-int-int-int-int-int-int-int-int-java.awt.image.ImageObserver-">drawImage</a></span>(java.awt.Image&nbsp;img,
  346. int&nbsp;dx1,
  347. int&nbsp;dy1,
  348. int&nbsp;dx2,
  349. int&nbsp;dy2,
  350. int&nbsp;sx1,
  351. int&nbsp;sy1,
  352. int&nbsp;sx2,
  353. int&nbsp;sy2,
  354. java.awt.image.ImageObserver&nbsp;observer)</code>
  355. <div class="block">Draws part of an image (defined by the source rectangle
  356. <code>(sx1, sy1, sx2, sy2)</code>) into the destination rectangle
  357. <code>(dx1, dy1, dx2, dy2)</code>.</div>
  358. </td>
  359. </tr>
  360. <tr id="i19" class="rowColor">
  361. <td class="colFirst"><code>void</code></td>
  362. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawLine-int-int-int-int-">drawLine</a></span>(int&nbsp;x1,
  363. int&nbsp;y1,
  364. int&nbsp;x2,
  365. int&nbsp;y2)</code>
  366. <div class="block">Draws a line from <code>(x1, y1)</code> to <code>(x2, y2)</code> using
  367. the current <code>paint</code> and <code>stroke</code>.</div>
  368. </td>
  369. </tr>
  370. <tr id="i20" class="altColor">
  371. <td class="colFirst"><code>void</code></td>
  372. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawOval-int-int-int-int-">drawOval</a></span>(int&nbsp;x,
  373. int&nbsp;y,
  374. int&nbsp;width,
  375. int&nbsp;height)</code>
  376. <div class="block">Draws an oval framed by the rectangle <code>(x, y, width, height)</code>
  377. using the current <code>paint</code> and <code>stroke</code>.</div>
  378. </td>
  379. </tr>
  380. <tr id="i21" class="rowColor">
  381. <td class="colFirst"><code>void</code></td>
  382. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawPolygon-int:A-int:A-int-">drawPolygon</a></span>(int[]&nbsp;xPoints,
  383. int[]&nbsp;yPoints,
  384. int&nbsp;nPoints)</code>
  385. <div class="block">Draws the specified polygon using the current <code>paint</code> and
  386. <code>stroke</code>.</div>
  387. </td>
  388. </tr>
  389. <tr id="i22" class="altColor">
  390. <td class="colFirst"><code>void</code></td>
  391. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawPolyline-int:A-int:A-int-">drawPolyline</a></span>(int[]&nbsp;xPoints,
  392. int[]&nbsp;yPoints,
  393. int&nbsp;nPoints)</code>
  394. <div class="block">Draws the specified multi-segment line using the current
  395. <code>paint</code> and <code>stroke</code>.</div>
  396. </td>
  397. </tr>
  398. <tr id="i23" class="rowColor">
  399. <td class="colFirst"><code>void</code></td>
  400. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawRenderableImage-java.awt.image.renderable.RenderableImage-java.awt.geom.AffineTransform-">drawRenderableImage</a></span>(java.awt.image.renderable.RenderableImage&nbsp;img,
  401. java.awt.geom.AffineTransform&nbsp;xform)</code>
  402. <div class="block">Draws the renderable image.</div>
  403. </td>
  404. </tr>
  405. <tr id="i24" class="altColor">
  406. <td class="colFirst"><code>void</code></td>
  407. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawRenderedImage-java.awt.image.RenderedImage-java.awt.geom.AffineTransform-">drawRenderedImage</a></span>(java.awt.image.RenderedImage&nbsp;img,
  408. java.awt.geom.AffineTransform&nbsp;xform)</code>&nbsp;</td>
  409. </tr>
  410. <tr id="i25" class="rowColor">
  411. <td class="colFirst"><code>void</code></td>
  412. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawRoundRect-int-int-int-int-int-int-">drawRoundRect</a></span>(int&nbsp;x,
  413. int&nbsp;y,
  414. int&nbsp;width,
  415. int&nbsp;height,
  416. int&nbsp;arcWidth,
  417. int&nbsp;arcHeight)</code>
  418. <div class="block">Draws a rectangle with rounded corners using the current
  419. <code>paint</code> and <code>stroke</code>.</div>
  420. </td>
  421. </tr>
  422. <tr id="i26" class="altColor">
  423. <td class="colFirst"><code>void</code></td>
  424. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawString-java.text.AttributedCharacterIterator-float-float-">drawString</a></span>(java.text.AttributedCharacterIterator&nbsp;iterator,
  425. float&nbsp;x,
  426. float&nbsp;y)</code>
  427. <div class="block">Draws a string of attributed characters at <code>(x, y)</code>.</div>
  428. </td>
  429. </tr>
  430. <tr id="i27" class="rowColor">
  431. <td class="colFirst"><code>void</code></td>
  432. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawString-java.text.AttributedCharacterIterator-int-int-">drawString</a></span>(java.text.AttributedCharacterIterator&nbsp;iterator,
  433. int&nbsp;x,
  434. int&nbsp;y)</code>
  435. <div class="block">Draws a string of attributed characters at <code>(x, y)</code>.</div>
  436. </td>
  437. </tr>
  438. <tr id="i28" class="altColor">
  439. <td class="colFirst"><code>void</code></td>
  440. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawString-java.lang.String-float-float-">drawString</a></span>(java.lang.String&nbsp;str,
  441. float&nbsp;x,
  442. float&nbsp;y)</code>
  443. <div class="block">Draws a string at <code>(x, y)</code>.</div>
  444. </td>
  445. </tr>
  446. <tr id="i29" class="rowColor">
  447. <td class="colFirst"><code>void</code></td>
  448. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawString-java.lang.String-int-int-">drawString</a></span>(java.lang.String&nbsp;str,
  449. int&nbsp;x,
  450. int&nbsp;y)</code>
  451. <div class="block">Draws a string at <code>(x, y)</code>.</div>
  452. </td>
  453. </tr>
  454. <tr id="i30" class="altColor">
  455. <td class="colFirst"><code>void</code></td>
  456. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fill-java.awt.Shape-">fill</a></span>(java.awt.Shape&nbsp;s)</code>
  457. <div class="block">Fills the specified shape with the current <code>paint</code>.</div>
  458. </td>
  459. </tr>
  460. <tr id="i31" class="rowColor">
  461. <td class="colFirst"><code>void</code></td>
  462. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillArc-int-int-int-int-int-int-">fillArc</a></span>(int&nbsp;x,
  463. int&nbsp;y,
  464. int&nbsp;width,
  465. int&nbsp;height,
  466. int&nbsp;startAngle,
  467. int&nbsp;arcAngle)</code>
  468. <div class="block">Fills an arc contained within the rectangle
  469. <code>(x, y, width, height)</code>, starting at <code>startAngle</code>
  470. and continuing through <code>arcAngle</code> degrees, using
  471. the current <code>paint</code>.</div>
  472. </td>
  473. </tr>
  474. <tr id="i32" class="altColor">
  475. <td class="colFirst"><code>void</code></td>
  476. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillOval-int-int-int-int-">fillOval</a></span>(int&nbsp;x,
  477. int&nbsp;y,
  478. int&nbsp;width,
  479. int&nbsp;height)</code>
  480. <div class="block">Fills an oval framed by the rectangle <code>(x, y, width, height)</code>.</div>
  481. </td>
  482. </tr>
  483. <tr id="i33" class="rowColor">
  484. <td class="colFirst"><code>void</code></td>
  485. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillPolygon-int:A-int:A-int-">fillPolygon</a></span>(int[]&nbsp;xPoints,
  486. int[]&nbsp;yPoints,
  487. int&nbsp;nPoints)</code>
  488. <div class="block">Fills the specified polygon using the current <code>paint</code>.</div>
  489. </td>
  490. </tr>
  491. <tr id="i34" class="altColor">
  492. <td class="colFirst"><code>void</code></td>
  493. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillRect-int-int-int-int-">fillRect</a></span>(int&nbsp;x,
  494. int&nbsp;y,
  495. int&nbsp;width,
  496. int&nbsp;height)</code>
  497. <div class="block">Fills the specified rectangle with the current <code>paint</code>.</div>
  498. </td>
  499. </tr>
  500. <tr id="i35" class="rowColor">
  501. <td class="colFirst"><code>void</code></td>
  502. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillRoundRect-int-int-int-int-int-int-">fillRoundRect</a></span>(int&nbsp;x,
  503. int&nbsp;y,
  504. int&nbsp;width,
  505. int&nbsp;height,
  506. int&nbsp;arcWidth,
  507. int&nbsp;arcHeight)</code>
  508. <div class="block">Fills a rectangle with rounded corners using the current <code>paint</code>.</div>
  509. </td>
  510. </tr>
  511. <tr id="i36" class="altColor">
  512. <td class="colFirst"><code>java.awt.Color</code></td>
  513. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getBackground--">getBackground</a></span>()</code>
  514. <div class="block">Returns the background color (the default value is <code>Color.BLACK</code>).</div>
  515. </td>
  516. </tr>
  517. <tr id="i37" class="rowColor">
  518. <td class="colFirst"><code>java.awt.Shape</code></td>
  519. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClip--">getClip</a></span>()</code>
  520. <div class="block">Returns the user clipping region.</div>
  521. </td>
  522. </tr>
  523. <tr id="i38" class="altColor">
  524. <td class="colFirst"><code>java.awt.Rectangle</code></td>
  525. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClipBounds--">getClipBounds</a></span>()</code>
  526. <div class="block">Returns the bounds of the user clipping region.</div>
  527. </td>
  528. </tr>
  529. <tr id="i39" class="rowColor">
  530. <td class="colFirst"><code>java.awt.Color</code></td>
  531. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getColor--">getColor</a></span>()</code>
  532. <div class="block">Returns the foreground color.</div>
  533. </td>
  534. </tr>
  535. <tr id="i40" class="altColor">
  536. <td class="colFirst"><code>java.awt.Composite</code></td>
  537. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getComposite--">getComposite</a></span>()</code>
  538. <div class="block">Returns the current composite.</div>
  539. </td>
  540. </tr>
  541. <tr id="i41" class="rowColor">
  542. <td class="colFirst"><code>java.awt.GraphicsConfiguration</code></td>
  543. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getDeviceConfiguration--">getDeviceConfiguration</a></span>()</code>
  544. <div class="block">This method is not implemented yet.</div>
  545. </td>
  546. </tr>
  547. <tr id="i42" class="altColor">
  548. <td class="colFirst"><code>java.awt.Font</code></td>
  549. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getFont--">getFont</a></span>()</code>
  550. <div class="block">Returns the current font used for drawing text.</div>
  551. </td>
  552. </tr>
  553. <tr id="i43" class="rowColor">
  554. <td class="colFirst"><code>java.awt.FontMetrics</code></td>
  555. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getFontMetrics-java.awt.Font-">getFontMetrics</a></span>(java.awt.Font&nbsp;f)</code>
  556. <div class="block">Returns the font metrics for the specified font.</div>
  557. </td>
  558. </tr>
  559. <tr id="i44" class="altColor">
  560. <td class="colFirst"><code>java.awt.font.FontRenderContext</code></td>
  561. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getFontRenderContext--">getFontRenderContext</a></span>()</code>
  562. <div class="block">Returns the font render context.</div>
  563. </td>
  564. </tr>
  565. <tr id="i45" class="rowColor">
  566. <td class="colFirst"><code>java.awt.Paint</code></td>
  567. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getPaint--">getPaint</a></span>()</code>
  568. <div class="block">Returns the paint used to draw or fill shapes (or text).</div>
  569. </td>
  570. </tr>
  571. <tr id="i46" class="altColor">
  572. <td class="colFirst"><code>java.lang.Object</code></td>
  573. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getRenderingHint-java.awt.RenderingHints.Key-">getRenderingHint</a></span>(java.awt.RenderingHints.Key&nbsp;hintKey)</code>
  574. <div class="block">Returns the current value for the specified hint.</div>
  575. </td>
  576. </tr>
  577. <tr id="i47" class="rowColor">
  578. <td class="colFirst"><code>java.awt.RenderingHints</code></td>
  579. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getRenderingHints--">getRenderingHints</a></span>()</code>
  580. <div class="block">Returns a copy of the rendering hints.</div>
  581. </td>
  582. </tr>
  583. <tr id="i48" class="altColor">
  584. <td class="colFirst"><code>java.awt.Stroke</code></td>
  585. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getStroke--">getStroke</a></span>()</code>
  586. <div class="block">Returns the current stroke (this attribute is used when drawing shapes).</div>
  587. </td>
  588. </tr>
  589. <tr id="i49" class="rowColor">
  590. <td class="colFirst"><code>java.awt.geom.AffineTransform</code></td>
  591. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getTransform--">getTransform</a></span>()</code>
  592. <div class="block">Returns a copy of the current transform.</div>
  593. </td>
  594. </tr>
  595. <tr id="i50" class="altColor">
  596. <td class="colFirst"><code>double</code></td>
  597. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getZeroStrokeWidth--">getZeroStrokeWidth</a></span>()</code>
  598. <div class="block">Returns the width to use for the stroke when the AWT stroke
  599. specified has a zero width (the default value is <code>0.5</code>).</div>
  600. </td>
  601. </tr>
  602. <tr id="i51" class="rowColor">
  603. <td class="colFirst"><code>boolean</code></td>
  604. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#hit-java.awt.Rectangle-java.awt.Shape-boolean-">hit</a></span>(java.awt.Rectangle&nbsp;rect,
  605. java.awt.Shape&nbsp;s,
  606. boolean&nbsp;onStroke)</code>
  607. <div class="block">Returns <code>true</code> if the rectangle (in device space) intersects
  608. with the shape (the interior, if <code>onStroke</code> is false,
  609. otherwise the stroked outline of the shape).</div>
  610. </td>
  611. </tr>
  612. <tr id="i52" class="altColor">
  613. <td class="colFirst"><code>boolean</code></td>
  614. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#isClippingDisabled--">isClippingDisabled</a></span>()</code>
  615. <div class="block">Returns the flag that controls whether or not clipping is actually
  616. applied to the JavaFX canvas.</div>
  617. </td>
  618. </tr>
  619. <tr id="i53" class="rowColor">
  620. <td class="colFirst"><code>void</code></td>
  621. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#rotate-double-">rotate</a></span>(double&nbsp;theta)</code>
  622. <div class="block">Applies a rotation (anti-clockwise) about <code>(0, 0)</code>.</div>
  623. </td>
  624. </tr>
  625. <tr id="i54" class="altColor">
  626. <td class="colFirst"><code>void</code></td>
  627. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#rotate-double-double-double-">rotate</a></span>(double&nbsp;theta,
  628. double&nbsp;x,
  629. double&nbsp;y)</code>
  630. <div class="block">Applies a rotation (anti-clockwise) about <code>(x, y)</code>.</div>
  631. </td>
  632. </tr>
  633. <tr id="i55" class="rowColor">
  634. <td class="colFirst"><code>void</code></td>
  635. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#scale-double-double-">scale</a></span>(double&nbsp;sx,
  636. double&nbsp;sy)</code>
  637. <div class="block">Applies a scale transformation.</div>
  638. </td>
  639. </tr>
  640. <tr id="i56" class="altColor">
  641. <td class="colFirst"><code>void</code></td>
  642. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setBackground-java.awt.Color-">setBackground</a></span>(java.awt.Color&nbsp;color)</code>
  643. <div class="block">Sets the background color.</div>
  644. </td>
  645. </tr>
  646. <tr id="i57" class="rowColor">
  647. <td class="colFirst"><code>void</code></td>
  648. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setClip-int-int-int-int-">setClip</a></span>(int&nbsp;x,
  649. int&nbsp;y,
  650. int&nbsp;width,
  651. int&nbsp;height)</code>
  652. <div class="block">Sets the user clipping region to the specified rectangle.</div>
  653. </td>
  654. </tr>
  655. <tr id="i58" class="altColor">
  656. <td class="colFirst"><code>void</code></td>
  657. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setClip-java.awt.Shape-">setClip</a></span>(java.awt.Shape&nbsp;shape)</code>
  658. <div class="block">Sets the user clipping region.</div>
  659. </td>
  660. </tr>
  661. <tr id="i59" class="rowColor">
  662. <td class="colFirst"><code>void</code></td>
  663. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setClippingDisabled-boolean-">setClippingDisabled</a></span>(boolean&nbsp;disabled)</code>
  664. <div class="block">Sets the flag that controls whether or not clipping is disabled.</div>
  665. </td>
  666. </tr>
  667. <tr id="i60" class="altColor">
  668. <td class="colFirst"><code>void</code></td>
  669. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setColor-java.awt.Color-">setColor</a></span>(java.awt.Color&nbsp;c)</code>
  670. <div class="block">Sets the foreground color.</div>
  671. </td>
  672. </tr>
  673. <tr id="i61" class="rowColor">
  674. <td class="colFirst"><code>void</code></td>
  675. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setComposite-java.awt.Composite-">setComposite</a></span>(java.awt.Composite&nbsp;comp)</code>
  676. <div class="block">Sets the composite (only <code>AlphaComposite</code> is handled).</div>
  677. </td>
  678. </tr>
  679. <tr id="i62" class="altColor">
  680. <td class="colFirst"><code>void</code></td>
  681. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setFont-java.awt.Font-">setFont</a></span>(java.awt.Font&nbsp;font)</code>
  682. <div class="block">Sets the font to be used for drawing text.</div>
  683. </td>
  684. </tr>
  685. <tr id="i63" class="rowColor">
  686. <td class="colFirst"><code>void</code></td>
  687. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setPaint-java.awt.Paint-">setPaint</a></span>(java.awt.Paint&nbsp;paint)</code>
  688. <div class="block">Sets the paint used to draw or fill shapes (or text).</div>
  689. </td>
  690. </tr>
  691. <tr id="i64" class="altColor">
  692. <td class="colFirst"><code>void</code></td>
  693. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setPaintMode--">setPaintMode</a></span>()</code>
  694. <div class="block">Not implemented - the method does nothing.</div>
  695. </td>
  696. </tr>
  697. <tr id="i65" class="rowColor">
  698. <td class="colFirst"><code>void</code></td>
  699. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setRenderingHint-java.awt.RenderingHints.Key-java.lang.Object-">setRenderingHint</a></span>(java.awt.RenderingHints.Key&nbsp;hintKey,
  700. java.lang.Object&nbsp;hintValue)</code>
  701. <div class="block">Sets the value for a hint.</div>
  702. </td>
  703. </tr>
  704. <tr id="i66" class="altColor">
  705. <td class="colFirst"><code>void</code></td>
  706. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setRenderingHints-java.util.Map-">setRenderingHints</a></span>(java.util.Map&lt;?,?&gt;&nbsp;hints)</code>
  707. <div class="block">Sets the rendering hints to the specified collection.</div>
  708. </td>
  709. </tr>
  710. <tr id="i67" class="rowColor">
  711. <td class="colFirst"><code>void</code></td>
  712. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setStroke-java.awt.Stroke-">setStroke</a></span>(java.awt.Stroke&nbsp;s)</code>
  713. <div class="block">Sets the stroke that will be used to draw shapes.</div>
  714. </td>
  715. </tr>
  716. <tr id="i68" class="altColor">
  717. <td class="colFirst"><code>void</code></td>
  718. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setTransform-java.awt.geom.AffineTransform-">setTransform</a></span>(java.awt.geom.AffineTransform&nbsp;t)</code>
  719. <div class="block">Sets the transform.</div>
  720. </td>
  721. </tr>
  722. <tr id="i69" class="rowColor">
  723. <td class="colFirst"><code>void</code></td>
  724. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setXORMode-java.awt.Color-">setXORMode</a></span>(java.awt.Color&nbsp;c1)</code>
  725. <div class="block">Not implemented - the method does nothing.</div>
  726. </td>
  727. </tr>
  728. <tr id="i70" class="altColor">
  729. <td class="colFirst"><code>void</code></td>
  730. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setZeroStrokeWidth-double-">setZeroStrokeWidth</a></span>(double&nbsp;width)</code>
  731. <div class="block">Sets the width to use for the stroke when the current AWT stroke
  732. has a width of <code>0.0</code>.</div>
  733. </td>
  734. </tr>
  735. <tr id="i71" class="rowColor">
  736. <td class="colFirst"><code>void</code></td>
  737. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#shear-double-double-">shear</a></span>(double&nbsp;shx,
  738. double&nbsp;shy)</code>
  739. <div class="block">Applies a shear transformation.</div>
  740. </td>
  741. </tr>
  742. <tr id="i72" class="altColor">
  743. <td class="colFirst"><code>void</code></td>
  744. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#transform-java.awt.geom.AffineTransform-">transform</a></span>(java.awt.geom.AffineTransform&nbsp;t)</code>
  745. <div class="block">Applies this transform to the existing transform by concatenating it.</div>
  746. </td>
  747. </tr>
  748. <tr id="i73" class="rowColor">
  749. <td class="colFirst"><code>void</code></td>
  750. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#translate-double-double-">translate</a></span>(double&nbsp;tx,
  751. double&nbsp;ty)</code>
  752. <div class="block">Applies the translation <code>(tx, ty)</code>.</div>
  753. </td>
  754. </tr>
  755. <tr id="i74" class="altColor">
  756. <td class="colFirst"><code>void</code></td>
  757. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#translate-int-int-">translate</a></span>(int&nbsp;tx,
  758. int&nbsp;ty)</code>
  759. <div class="block">Applies the translation <code>(tx, ty)</code>.</div>
  760. </td>
  761. </tr>
  762. </table>
  763. <ul class="blockList">
  764. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Graphics2D">
  765. <!-- -->
  766. </a>
  767. <h3>Methods inherited from class&nbsp;java.awt.Graphics2D</h3>
  768. <code>draw3DRect, fill3DRect</code></li>
  769. </ul>
  770. <ul class="blockList">
  771. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Graphics">
  772. <!-- -->
  773. </a>
  774. <h3>Methods inherited from class&nbsp;java.awt.Graphics</h3>
  775. <code>create, drawBytes, drawChars, drawPolygon, drawRect, fillPolygon, finalize, getClipBounds, getClipRect, getFontMetrics, hitClip, toString</code></li>
  776. </ul>
  777. <ul class="blockList">
  778. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  779. <!-- -->
  780. </a>
  781. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  782. <code>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  783. </ul>
  784. </li>
  785. </ul>
  786. </li>
  787. </ul>
  788. </div>
  789. <div class="details">
  790. <ul class="blockList">
  791. <li class="blockList">
  792. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  793. <ul class="blockList">
  794. <li class="blockList"><a name="constructor.detail">
  795. <!-- -->
  796. </a>
  797. <h3>Constructor Detail</h3>
  798. <a name="FXGraphics2D-javafx.scene.canvas.GraphicsContext-">
  799. <!-- -->
  800. </a>
  801. <ul class="blockListLast">
  802. <li class="blockList">
  803. <h4>FXGraphics2D</h4>
  804. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.201">FXGraphics2D</a>(javafx.scene.canvas.GraphicsContext&nbsp;gc)</pre>
  805. <div class="block">Creates a new instance that will render to the specified JavaFX
  806. <code>GraphicsContext</code>.</div>
  807. <dl>
  808. <dt><span class="paramLabel">Parameters:</span></dt>
  809. <dd><code>gc</code> - the graphics context (<code>null</code> not permitted).</dd>
  810. </dl>
  811. </li>
  812. </ul>
  813. </li>
  814. </ul>
  815. <!-- ============ METHOD DETAIL ========== -->
  816. <ul class="blockList">
  817. <li class="blockList"><a name="method.detail">
  818. <!-- -->
  819. </a>
  820. <h3>Method Detail</h3>
  821. <a name="getZeroStrokeWidth--">
  822. <!-- -->
  823. </a>
  824. <ul class="blockList">
  825. <li class="blockList">
  826. <h4>getZeroStrokeWidth</h4>
  827. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.221">getZeroStrokeWidth</a>()</pre>
  828. <div class="block">Returns the width to use for the stroke when the AWT stroke
  829. specified has a zero width (the default value is <code>0.5</code>).
  830. <p>In the Java specification for <code>BasicStroke</code> it states "If width
  831. is set to 0.0f, the stroke is rendered as the thinnest possible
  832. line for the target device and the antialias hint setting." We don't
  833. have a means to implement that accurately since we must specify a fixed
  834. width to the JavaFX canvas - this attribute is the width that is
  835. used.</p></div>
  836. <dl>
  837. <dt><span class="returnLabel">Returns:</span></dt>
  838. <dd>The width.</dd>
  839. </dl>
  840. </li>
  841. </ul>
  842. <a name="setZeroStrokeWidth-double-">
  843. <!-- -->
  844. </a>
  845. <ul class="blockList">
  846. <li class="blockList">
  847. <h4>setZeroStrokeWidth</h4>
  848. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.231">setZeroStrokeWidth</a>(double&nbsp;width)</pre>
  849. <div class="block">Sets the width to use for the stroke when the current AWT stroke
  850. has a width of <code>0.0</code>.</div>
  851. <dl>
  852. <dt><span class="paramLabel">Parameters:</span></dt>
  853. <dd><code>width</code> - the new width (must be 0 or greater).</dd>
  854. </dl>
  855. </li>
  856. </ul>
  857. <a name="isClippingDisabled--">
  858. <!-- -->
  859. </a>
  860. <ul class="blockList">
  861. <li class="blockList">
  862. <h4>isClippingDisabled</h4>
  863. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.251">isClippingDisabled</a>()</pre>
  864. <div class="block">Returns the flag that controls whether or not clipping is actually
  865. applied to the JavaFX canvas. The default value is currently
  866. <code>false</code> (the clipping is ENABLED) but since it does not always
  867. work correctly you have the option to disable it. See
  868. <a href="https://javafx-jira.kenai.com/browse/RT-36891">
  869. https://javafx-jira.kenai.com/browse/RT-36891</a> for details (requires
  870. an account).</div>
  871. <dl>
  872. <dt><span class="returnLabel">Returns:</span></dt>
  873. <dd>A boolean.</dd>
  874. <dt><span class="seeLabel">See Also:</span></dt>
  875. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setClippingDisabled-boolean-"><code>setClippingDisabled(boolean)</code></a></dd>
  876. </dl>
  877. </li>
  878. </ul>
  879. <a name="setClippingDisabled-boolean-">
  880. <!-- -->
  881. </a>
  882. <ul class="blockList">
  883. <li class="blockList">
  884. <h4>setClippingDisabled</h4>
  885. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.262">setClippingDisabled</a>(boolean&nbsp;disabled)</pre>
  886. <div class="block">Sets the flag that controls whether or not clipping is disabled.</div>
  887. <dl>
  888. <dt><span class="paramLabel">Parameters:</span></dt>
  889. <dd><code>disabled</code> - the new flag value.</dd>
  890. <dt><span class="seeLabel">See Also:</span></dt>
  891. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#isClippingDisabled--"><code>isClippingDisabled()</code></a></dd>
  892. </dl>
  893. </li>
  894. </ul>
  895. <a name="getDeviceConfiguration--">
  896. <!-- -->
  897. </a>
  898. <ul class="blockList">
  899. <li class="blockList">
  900. <h4>getDeviceConfiguration</h4>
  901. <pre>public&nbsp;java.awt.GraphicsConfiguration&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.271">getDeviceConfiguration</a>()</pre>
  902. <div class="block">This method is not implemented yet.</div>
  903. <dl>
  904. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  905. <dd><code>getDeviceConfiguration</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  906. <dt><span class="returnLabel">Returns:</span></dt>
  907. <dd><code>null</code>.</dd>
  908. </dl>
  909. </li>
  910. </ul>
  911. <a name="create--">
  912. <!-- -->
  913. </a>
  914. <ul class="blockList">
  915. <li class="blockList">
  916. <h4>create</h4>
  917. <pre>public&nbsp;java.awt.Graphics&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.282">create</a>()</pre>
  918. <div class="block">Creates a new graphics object that is a copy of this graphics object.</div>
  919. <dl>
  920. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  921. <dd><code>create</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  922. <dt><span class="returnLabel">Returns:</span></dt>
  923. <dd>A new graphics object.</dd>
  924. </dl>
  925. </li>
  926. </ul>
  927. <a name="getPaint--">
  928. <!-- -->
  929. </a>
  930. <ul class="blockList">
  931. <li class="blockList">
  932. <h4>getPaint</h4>
  933. <pre>public&nbsp;java.awt.Paint&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.305">getPaint</a>()</pre>
  934. <div class="block">Returns the paint used to draw or fill shapes (or text). The default
  935. value is <code>Color.BLACK</code>.</div>
  936. <dl>
  937. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  938. <dd><code>getPaint</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  939. <dt><span class="returnLabel">Returns:</span></dt>
  940. <dd>The paint (never <code>null</code>).</dd>
  941. <dt><span class="seeLabel">See Also:</span></dt>
  942. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setPaint-java.awt.Paint-"><code>setPaint(java.awt.Paint)</code></a></dd>
  943. </dl>
  944. </li>
  945. </ul>
  946. <a name="setPaint-java.awt.Paint-">
  947. <!-- -->
  948. </a>
  949. <ul class="blockList">
  950. <li class="blockList">
  951. <h4>setPaint</h4>
  952. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.326">setPaint</a>(java.awt.Paint&nbsp;paint)</pre>
  953. <div class="block">Sets the paint used to draw or fill shapes (or text). If
  954. <code>paint</code> is an instance of <code>Color</code>, this method will
  955. also update the current color attribute (see <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getColor--"><code>getColor()</code></a>). If
  956. you pass <code>null</code> to this method, it does nothing (in
  957. accordance with the JDK specification).
  958. <br><br>
  959. Note that this implementation will map <code>Color</code>,
  960. <code>GradientPaint</code>, <code>LinearGradientPaint</code> and
  961. <code>RadialGradientPaint</code>, other paint implementations are not
  962. handled.</div>
  963. <dl>
  964. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  965. <dd><code>setPaint</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  966. <dt><span class="paramLabel">Parameters:</span></dt>
  967. <dd><code>paint</code> - the paint (<code>null</code> is permitted but ignored).</dd>
  968. <dt><span class="seeLabel">See Also:</span></dt>
  969. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getPaint--"><code>getPaint()</code></a></dd>
  970. </dl>
  971. </li>
  972. </ul>
  973. <a name="getColor--">
  974. <!-- -->
  975. </a>
  976. <ul class="blockList">
  977. <li class="blockList">
  978. <h4>getColor</h4>
  979. <pre>public&nbsp;java.awt.Color&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.394">getColor</a>()</pre>
  980. <div class="block">Returns the foreground color. This method exists for backwards
  981. compatibility in AWT, you should use the <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getPaint--"><code>getPaint()</code></a> method.</div>
  982. <dl>
  983. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  984. <dd><code>getColor</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  985. <dt><span class="returnLabel">Returns:</span></dt>
  986. <dd>The foreground color (never <code>null</code>).</dd>
  987. <dt><span class="seeLabel">See Also:</span></dt>
  988. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getPaint--"><code>getPaint()</code></a></dd>
  989. </dl>
  990. </li>
  991. </ul>
  992. <a name="setColor-java.awt.Color-">
  993. <!-- -->
  994. </a>
  995. <ul class="blockList">
  996. <li class="blockList">
  997. <h4>setColor</h4>
  998. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.408">setColor</a>(java.awt.Color&nbsp;c)</pre>
  999. <div class="block">Sets the foreground color. This method exists for backwards
  1000. compatibility in AWT, you should use the
  1001. <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setPaint-java.awt.Paint-"><code>setPaint(java.awt.Paint)</code></a> method.</div>
  1002. <dl>
  1003. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1004. <dd><code>setColor</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1005. <dt><span class="paramLabel">Parameters:</span></dt>
  1006. <dd><code>c</code> - the color (<code>null</code> permitted but ignored).</dd>
  1007. <dt><span class="seeLabel">See Also:</span></dt>
  1008. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setPaint-java.awt.Paint-"><code>setPaint(java.awt.Paint)</code></a></dd>
  1009. </dl>
  1010. </li>
  1011. </ul>
  1012. <a name="getBackground--">
  1013. <!-- -->
  1014. </a>
  1015. <ul class="blockList">
  1016. <li class="blockList">
  1017. <h4>getBackground</h4>
  1018. <pre>public&nbsp;java.awt.Color&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.441">getBackground</a>()</pre>
  1019. <div class="block">Returns the background color (the default value is <code>Color.BLACK</code>).
  1020. This attribute is used by the <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#clearRect-int-int-int-int-"><code>clearRect(int, int, int, int)</code></a>
  1021. method.</div>
  1022. <dl>
  1023. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1024. <dd><code>getBackground</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1025. <dt><span class="returnLabel">Returns:</span></dt>
  1026. <dd>The background color (possibly <code>null</code>).</dd>
  1027. <dt><span class="seeLabel">See Also:</span></dt>
  1028. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setBackground-java.awt.Color-"><code>setBackground(java.awt.Color)</code></a></dd>
  1029. </dl>
  1030. </li>
  1031. </ul>
  1032. <a name="setBackground-java.awt.Color-">
  1033. <!-- -->
  1034. </a>
  1035. <ul class="blockList">
  1036. <li class="blockList">
  1037. <h4>setBackground</h4>
  1038. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.457">setBackground</a>(java.awt.Color&nbsp;color)</pre>
  1039. <div class="block">Sets the background color. This attribute is used by the
  1040. <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#clearRect-int-int-int-int-"><code>clearRect(int, int, int, int)</code></a> method. The reference
  1041. implementation allows <code>null</code> for the background color so
  1042. we allow that too (but for that case, the <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#clearRect-int-int-int-int-"><code>clearRect(int, int, int, int)</code></a>
  1043. method will do nothing).</div>
  1044. <dl>
  1045. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1046. <dd><code>setBackground</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1047. <dt><span class="paramLabel">Parameters:</span></dt>
  1048. <dd><code>color</code> - the color (<code>null</code> permitted).</dd>
  1049. <dt><span class="seeLabel">See Also:</span></dt>
  1050. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getBackground--"><code>getBackground()</code></a></dd>
  1051. </dl>
  1052. </li>
  1053. </ul>
  1054. <a name="getComposite--">
  1055. <!-- -->
  1056. </a>
  1057. <ul class="blockList">
  1058. <li class="blockList">
  1059. <h4>getComposite</h4>
  1060. <pre>public&nbsp;java.awt.Composite&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.469">getComposite</a>()</pre>
  1061. <div class="block">Returns the current composite.</div>
  1062. <dl>
  1063. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1064. <dd><code>getComposite</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1065. <dt><span class="returnLabel">Returns:</span></dt>
  1066. <dd>The current composite (never <code>null</code>).</dd>
  1067. <dt><span class="seeLabel">See Also:</span></dt>
  1068. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setComposite-java.awt.Composite-"><code>setComposite(java.awt.Composite)</code></a></dd>
  1069. </dl>
  1070. </li>
  1071. </ul>
  1072. <a name="setComposite-java.awt.Composite-">
  1073. <!-- -->
  1074. </a>
  1075. <ul class="blockList">
  1076. <li class="blockList">
  1077. <h4>setComposite</h4>
  1078. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.481">setComposite</a>(java.awt.Composite&nbsp;comp)</pre>
  1079. <div class="block">Sets the composite (only <code>AlphaComposite</code> is handled).</div>
  1080. <dl>
  1081. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1082. <dd><code>setComposite</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1083. <dt><span class="paramLabel">Parameters:</span></dt>
  1084. <dd><code>comp</code> - the composite (<code>null</code> not permitted).</dd>
  1085. <dt><span class="seeLabel">See Also:</span></dt>
  1086. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getComposite--"><code>getComposite()</code></a></dd>
  1087. </dl>
  1088. </li>
  1089. </ul>
  1090. <a name="getStroke--">
  1091. <!-- -->
  1092. </a>
  1093. <ul class="blockList">
  1094. <li class="blockList">
  1095. <h4>getStroke</h4>
  1096. <pre>public&nbsp;java.awt.Stroke&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.494">getStroke</a>()</pre>
  1097. <div class="block">Returns the current stroke (this attribute is used when drawing shapes).</div>
  1098. <dl>
  1099. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1100. <dd><code>getStroke</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1101. <dt><span class="returnLabel">Returns:</span></dt>
  1102. <dd>The current stroke (never <code>null</code>).</dd>
  1103. <dt><span class="seeLabel">See Also:</span></dt>
  1104. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setStroke-java.awt.Stroke-"><code>setStroke(java.awt.Stroke)</code></a></dd>
  1105. </dl>
  1106. </li>
  1107. </ul>
  1108. <a name="setStroke-java.awt.Stroke-">
  1109. <!-- -->
  1110. </a>
  1111. <ul class="blockList">
  1112. <li class="blockList">
  1113. <h4>setStroke</h4>
  1114. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.506">setStroke</a>(java.awt.Stroke&nbsp;s)</pre>
  1115. <div class="block">Sets the stroke that will be used to draw shapes.</div>
  1116. <dl>
  1117. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1118. <dd><code>setStroke</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1119. <dt><span class="paramLabel">Parameters:</span></dt>
  1120. <dd><code>s</code> - the stroke (<code>null</code> not permitted).</dd>
  1121. <dt><span class="seeLabel">See Also:</span></dt>
  1122. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getStroke--"><code>getStroke()</code></a></dd>
  1123. </dl>
  1124. </li>
  1125. </ul>
  1126. <a name="getRenderingHint-java.awt.RenderingHints.Key-">
  1127. <!-- -->
  1128. </a>
  1129. <ul class="blockList">
  1130. <li class="blockList">
  1131. <h4>getRenderingHint</h4>
  1132. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.575">getRenderingHint</a>(java.awt.RenderingHints.Key&nbsp;hintKey)</pre>
  1133. <div class="block">Returns the current value for the specified hint. Note that all hints
  1134. are currently ignored in this implementation.</div>
  1135. <dl>
  1136. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1137. <dd><code>getRenderingHint</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1138. <dt><span class="paramLabel">Parameters:</span></dt>
  1139. <dd><code>hintKey</code> - the hint key (<code>null</code> permitted, but the
  1140. result will be <code>null</code> also in that case).</dd>
  1141. <dt><span class="returnLabel">Returns:</span></dt>
  1142. <dd>The current value for the specified hint
  1143. (possibly <code>null</code>).</dd>
  1144. <dt><span class="seeLabel">See Also:</span></dt>
  1145. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setRenderingHint-java.awt.RenderingHints.Key-java.lang.Object-"><code>setRenderingHint(java.awt.RenderingHints.Key, java.lang.Object)</code></a></dd>
  1146. </dl>
  1147. </li>
  1148. </ul>
  1149. <a name="setRenderingHint-java.awt.RenderingHints.Key-java.lang.Object-">
  1150. <!-- -->
  1151. </a>
  1152. <ul class="blockList">
  1153. <li class="blockList">
  1154. <h4>setRenderingHint</h4>
  1155. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.589">setRenderingHint</a>(java.awt.RenderingHints.Key&nbsp;hintKey,
  1156. java.lang.Object&nbsp;hintValue)</pre>
  1157. <div class="block">Sets the value for a hint. Note that all hints are currently
  1158. ignored in this implementation.</div>
  1159. <dl>
  1160. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1161. <dd><code>setRenderingHint</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1162. <dt><span class="paramLabel">Parameters:</span></dt>
  1163. <dd><code>hintKey</code> - the hint key (<code>null</code> not permitted).</dd>
  1164. <dd><code>hintValue</code> - the hint value.</dd>
  1165. <dt><span class="seeLabel">See Also:</span></dt>
  1166. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getRenderingHint-java.awt.RenderingHints.Key-"><code>getRenderingHint(java.awt.RenderingHints.Key)</code></a></dd>
  1167. </dl>
  1168. </li>
  1169. </ul>
  1170. <a name="getRenderingHints--">
  1171. <!-- -->
  1172. </a>
  1173. <ul class="blockList">
  1174. <li class="blockList">
  1175. <h4>getRenderingHints</h4>
  1176. <pre>public&nbsp;java.awt.RenderingHints&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.603">getRenderingHints</a>()</pre>
  1177. <div class="block">Returns a copy of the rendering hints. Modifying the returned copy
  1178. will have no impact on the state of this <code>Graphics2D</code>
  1179. instance.</div>
  1180. <dl>
  1181. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1182. <dd><code>getRenderingHints</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1183. <dt><span class="returnLabel">Returns:</span></dt>
  1184. <dd>The rendering hints (never <code>null</code>).</dd>
  1185. <dt><span class="seeLabel">See Also:</span></dt>
  1186. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setRenderingHints-java.util.Map-"><code>setRenderingHints(java.util.Map)</code></a></dd>
  1187. </dl>
  1188. </li>
  1189. </ul>
  1190. <a name="setRenderingHints-java.util.Map-">
  1191. <!-- -->
  1192. </a>
  1193. <ul class="blockList">
  1194. <li class="blockList">
  1195. <h4>setRenderingHints</h4>
  1196. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.615">setRenderingHints</a>(java.util.Map&lt;?,?&gt;&nbsp;hints)</pre>
  1197. <div class="block">Sets the rendering hints to the specified collection.</div>
  1198. <dl>
  1199. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1200. <dd><code>setRenderingHints</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1201. <dt><span class="paramLabel">Parameters:</span></dt>
  1202. <dd><code>hints</code> - the new set of hints (<code>null</code> not permitted).</dd>
  1203. <dt><span class="seeLabel">See Also:</span></dt>
  1204. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getRenderingHints--"><code>getRenderingHints()</code></a></dd>
  1205. </dl>
  1206. </li>
  1207. </ul>
  1208. <a name="addRenderingHints-java.util.Map-">
  1209. <!-- -->
  1210. </a>
  1211. <ul class="blockList">
  1212. <li class="blockList">
  1213. <h4>addRenderingHints</h4>
  1214. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.626">addRenderingHints</a>(java.util.Map&lt;?,?&gt;&nbsp;hints)</pre>
  1215. <div class="block">Adds all the supplied rendering hints.</div>
  1216. <dl>
  1217. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1218. <dd><code>addRenderingHints</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1219. <dt><span class="paramLabel">Parameters:</span></dt>
  1220. <dd><code>hints</code> - the hints (<code>null</code> not permitted).</dd>
  1221. </dl>
  1222. </li>
  1223. </ul>
  1224. <a name="draw-java.awt.Shape-">
  1225. <!-- -->
  1226. </a>
  1227. <ul class="blockList">
  1228. <li class="blockList">
  1229. <h4>draw</h4>
  1230. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.642">draw</a>(java.awt.Shape&nbsp;s)</pre>
  1231. <div class="block">Draws the specified shape with the current <code>paint</code> and
  1232. <code>stroke</code>. There is direct handling for <code>Line2D</code>,
  1233. <code>Rectangle2D</code>, <code>Ellipse2D</code>, <code>Arc2D</code> and
  1234. <code>Path2D</code>. All other shapes are mapped to a path outline and then
  1235. drawn.</div>
  1236. <dl>
  1237. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1238. <dd><code>draw</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1239. <dt><span class="paramLabel">Parameters:</span></dt>
  1240. <dd><code>s</code> - the shape (<code>null</code> not permitted).</dd>
  1241. <dt><span class="seeLabel">See Also:</span></dt>
  1242. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fill-java.awt.Shape-"><code>fill(java.awt.Shape)</code></a></dd>
  1243. </dl>
  1244. </li>
  1245. </ul>
  1246. <a name="fill-java.awt.Shape-">
  1247. <!-- -->
  1248. </a>
  1249. <ul class="blockList">
  1250. <li class="blockList">
  1251. <h4>fill</h4>
  1252. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.754">fill</a>(java.awt.Shape&nbsp;s)</pre>
  1253. <div class="block">Fills the specified shape with the current <code>paint</code>. There is
  1254. direct handling for <code>RoundRectangle2D</code>,
  1255. <code>Rectangle2D</code>, <code>Ellipse2D</code> and <code>Arc2D</code>.
  1256. All other shapes are mapped to a path outline and then filled.</div>
  1257. <dl>
  1258. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1259. <dd><code>fill</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1260. <dt><span class="paramLabel">Parameters:</span></dt>
  1261. <dd><code>s</code> - the shape (<code>null</code> not permitted).</dd>
  1262. <dt><span class="seeLabel">See Also:</span></dt>
  1263. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#draw-java.awt.Shape-"><code>draw(java.awt.Shape)</code></a></dd>
  1264. </dl>
  1265. </li>
  1266. </ul>
  1267. <a name="getFont--">
  1268. <!-- -->
  1269. </a>
  1270. <ul class="blockList">
  1271. <li class="blockList">
  1272. <h4>getFont</h4>
  1273. <pre>public&nbsp;java.awt.Font&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.784">getFont</a>()</pre>
  1274. <div class="block">Returns the current font used for drawing text.</div>
  1275. <dl>
  1276. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1277. <dd><code>getFont</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1278. <dt><span class="returnLabel">Returns:</span></dt>
  1279. <dd>The current font (never <code>null</code>).</dd>
  1280. <dt><span class="seeLabel">See Also:</span></dt>
  1281. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setFont-java.awt.Font-"><code>setFont(java.awt.Font)</code></a></dd>
  1282. </dl>
  1283. </li>
  1284. </ul>
  1285. <a name="setFont-java.awt.Font-">
  1286. <!-- -->
  1287. </a>
  1288. <ul class="blockList">
  1289. <li class="blockList">
  1290. <h4>setFont</h4>
  1291. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.796">setFont</a>(java.awt.Font&nbsp;font)</pre>
  1292. <div class="block">Sets the font to be used for drawing text.</div>
  1293. <dl>
  1294. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1295. <dd><code>setFont</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1296. <dt><span class="paramLabel">Parameters:</span></dt>
  1297. <dd><code>font</code> - the font (<code>null</code> is permitted but ignored).</dd>
  1298. <dt><span class="seeLabel">See Also:</span></dt>
  1299. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getFont--"><code>getFont()</code></a></dd>
  1300. </dl>
  1301. </li>
  1302. </ul>
  1303. <a name="getFontMetrics-java.awt.Font-">
  1304. <!-- -->
  1305. </a>
  1306. <ul class="blockList">
  1307. <li class="blockList">
  1308. <h4>getFontMetrics</h4>
  1309. <pre>public&nbsp;java.awt.FontMetrics&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.816">getFontMetrics</a>(java.awt.Font&nbsp;f)</pre>
  1310. <div class="block">Returns the font metrics for the specified font.</div>
  1311. <dl>
  1312. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1313. <dd><code>getFontMetrics</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1314. <dt><span class="paramLabel">Parameters:</span></dt>
  1315. <dd><code>f</code> - the font.</dd>
  1316. <dt><span class="returnLabel">Returns:</span></dt>
  1317. <dd>The font metrics.</dd>
  1318. </dl>
  1319. </li>
  1320. </ul>
  1321. <a name="getFontRenderContext--">
  1322. <!-- -->
  1323. </a>
  1324. <ul class="blockList">
  1325. <li class="blockList">
  1326. <h4>getFontRenderContext</h4>
  1327. <pre>public&nbsp;java.awt.font.FontRenderContext&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.828">getFontRenderContext</a>()</pre>
  1328. <div class="block">Returns the font render context. The implementation here returns the
  1329. <code>FontRenderContext</code> for an image that is maintained
  1330. internally (as for <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getFontMetrics-java.awt.Font-"><code>getFontMetrics(java.awt.Font)</code></a>).</div>
  1331. <dl>
  1332. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1333. <dd><code>getFontRenderContext</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1334. <dt><span class="returnLabel">Returns:</span></dt>
  1335. <dd>The font render context.</dd>
  1336. </dl>
  1337. </li>
  1338. </ul>
  1339. <a name="drawString-java.lang.String-int-int-">
  1340. <!-- -->
  1341. </a>
  1342. <ul class="blockList">
  1343. <li class="blockList">
  1344. <h4>drawString</h4>
  1345. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.843">drawString</a>(java.lang.String&nbsp;str,
  1346. int&nbsp;x,
  1347. int&nbsp;y)</pre>
  1348. <div class="block">Draws a string at <code>(x, y)</code>. The start of the text at the
  1349. baseline level will be aligned with the <code>(x, y)</code> point.</div>
  1350. <dl>
  1351. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1352. <dd><code>drawString</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1353. <dt><span class="paramLabel">Parameters:</span></dt>
  1354. <dd><code>str</code> - the string (<code>null</code> not permitted).</dd>
  1355. <dd><code>x</code> - the x-coordinate.</dd>
  1356. <dd><code>y</code> - the y-coordinate.</dd>
  1357. <dt><span class="seeLabel">See Also:</span></dt>
  1358. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawString-java.lang.String-float-float-"><code>drawString(java.lang.String, float, float)</code></a></dd>
  1359. </dl>
  1360. </li>
  1361. </ul>
  1362. <a name="drawString-java.lang.String-float-float-">
  1363. <!-- -->
  1364. </a>
  1365. <ul class="blockList">
  1366. <li class="blockList">
  1367. <h4>drawString</h4>
  1368. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.856">drawString</a>(java.lang.String&nbsp;str,
  1369. float&nbsp;x,
  1370. float&nbsp;y)</pre>
  1371. <div class="block">Draws a string at <code>(x, y)</code>. The start of the text at the
  1372. baseline level will be aligned with the <code>(x, y)</code> point.</div>
  1373. <dl>
  1374. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1375. <dd><code>drawString</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1376. <dt><span class="paramLabel">Parameters:</span></dt>
  1377. <dd><code>str</code> - the string (<code>null</code> not permitted).</dd>
  1378. <dd><code>x</code> - the x-coordinate.</dd>
  1379. <dd><code>y</code> - the y-coordinate.</dd>
  1380. </dl>
  1381. </li>
  1382. </ul>
  1383. <a name="drawString-java.text.AttributedCharacterIterator-int-int-">
  1384. <!-- -->
  1385. </a>
  1386. <ul class="blockList">
  1387. <li class="blockList">
  1388. <h4>drawString</h4>
  1389. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.873">drawString</a>(java.text.AttributedCharacterIterator&nbsp;iterator,
  1390. int&nbsp;x,
  1391. int&nbsp;y)</pre>
  1392. <div class="block">Draws a string of attributed characters at <code>(x, y)</code>. The
  1393. call is delegated to
  1394. <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawString-java.text.AttributedCharacterIterator-float-float-"><code>drawString(AttributedCharacterIterator, float, float)</code></a>.</div>
  1395. <dl>
  1396. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1397. <dd><code>drawString</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1398. <dt><span class="paramLabel">Parameters:</span></dt>
  1399. <dd><code>iterator</code> - an iterator for the characters.</dd>
  1400. <dd><code>x</code> - the x-coordinate.</dd>
  1401. <dd><code>y</code> - the x-coordinate.</dd>
  1402. </dl>
  1403. </li>
  1404. </ul>
  1405. <a name="drawString-java.text.AttributedCharacterIterator-float-float-">
  1406. <!-- -->
  1407. </a>
  1408. <ul class="blockList">
  1409. <li class="blockList">
  1410. <h4>drawString</h4>
  1411. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.886">drawString</a>(java.text.AttributedCharacterIterator&nbsp;iterator,
  1412. float&nbsp;x,
  1413. float&nbsp;y)</pre>
  1414. <div class="block">Draws a string of attributed characters at <code>(x, y)</code>.</div>
  1415. <dl>
  1416. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1417. <dd><code>drawString</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1418. <dt><span class="paramLabel">Parameters:</span></dt>
  1419. <dd><code>iterator</code> - an iterator over the characters (<code>null</code> not
  1420. permitted).</dd>
  1421. <dd><code>x</code> - the x-coordinate.</dd>
  1422. <dd><code>y</code> - the y-coordinate.</dd>
  1423. </dl>
  1424. </li>
  1425. </ul>
  1426. <a name="drawGlyphVector-java.awt.font.GlyphVector-float-float-">
  1427. <!-- -->
  1428. </a>
  1429. <ul class="blockList">
  1430. <li class="blockList">
  1431. <h4>drawGlyphVector</h4>
  1432. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.914">drawGlyphVector</a>(java.awt.font.GlyphVector&nbsp;g,
  1433. float&nbsp;x,
  1434. float&nbsp;y)</pre>
  1435. <div class="block">Draws the specified glyph vector at the location <code>(x, y)</code>.</div>
  1436. <dl>
  1437. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1438. <dd><code>drawGlyphVector</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1439. <dt><span class="paramLabel">Parameters:</span></dt>
  1440. <dd><code>g</code> - the glyph vector (<code>null</code> not permitted).</dd>
  1441. <dd><code>x</code> - the x-coordinate.</dd>
  1442. <dd><code>y</code> - the y-coordinate.</dd>
  1443. </dl>
  1444. </li>
  1445. </ul>
  1446. <a name="translate-int-int-">
  1447. <!-- -->
  1448. </a>
  1449. <ul class="blockList">
  1450. <li class="blockList">
  1451. <h4>translate</h4>
  1452. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.928">translate</a>(int&nbsp;tx,
  1453. int&nbsp;ty)</pre>
  1454. <div class="block">Applies the translation <code>(tx, ty)</code>. This call is delegated
  1455. to <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#translate-double-double-"><code>translate(double, double)</code></a>.</div>
  1456. <dl>
  1457. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1458. <dd><code>translate</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1459. <dt><span class="paramLabel">Parameters:</span></dt>
  1460. <dd><code>tx</code> - the x-translation.</dd>
  1461. <dd><code>ty</code> - the y-translation.</dd>
  1462. <dt><span class="seeLabel">See Also:</span></dt>
  1463. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#translate-double-double-"><code>translate(double, double)</code></a></dd>
  1464. </dl>
  1465. </li>
  1466. </ul>
  1467. <a name="translate-double-double-">
  1468. <!-- -->
  1469. </a>
  1470. <ul class="blockList">
  1471. <li class="blockList">
  1472. <h4>translate</h4>
  1473. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.939">translate</a>(double&nbsp;tx,
  1474. double&nbsp;ty)</pre>
  1475. <div class="block">Applies the translation <code>(tx, ty)</code>.</div>
  1476. <dl>
  1477. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1478. <dd><code>translate</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1479. <dt><span class="paramLabel">Parameters:</span></dt>
  1480. <dd><code>tx</code> - the x-translation.</dd>
  1481. <dd><code>ty</code> - the y-translation.</dd>
  1482. </dl>
  1483. </li>
  1484. </ul>
  1485. <a name="rotate-double-">
  1486. <!-- -->
  1487. </a>
  1488. <ul class="blockList">
  1489. <li class="blockList">
  1490. <h4>rotate</h4>
  1491. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.950">rotate</a>(double&nbsp;theta)</pre>
  1492. <div class="block">Applies a rotation (anti-clockwise) about <code>(0, 0)</code>.</div>
  1493. <dl>
  1494. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1495. <dd><code>rotate</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1496. <dt><span class="paramLabel">Parameters:</span></dt>
  1497. <dd><code>theta</code> - the rotation angle (in radians).</dd>
  1498. </dl>
  1499. </li>
  1500. </ul>
  1501. <a name="rotate-double-double-double-">
  1502. <!-- -->
  1503. </a>
  1504. <ul class="blockList">
  1505. <li class="blockList">
  1506. <h4>rotate</h4>
  1507. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.963">rotate</a>(double&nbsp;theta,
  1508. double&nbsp;x,
  1509. double&nbsp;y)</pre>
  1510. <div class="block">Applies a rotation (anti-clockwise) about <code>(x, y)</code>.</div>
  1511. <dl>
  1512. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1513. <dd><code>rotate</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1514. <dt><span class="paramLabel">Parameters:</span></dt>
  1515. <dd><code>theta</code> - the rotation angle (in radians).</dd>
  1516. <dd><code>x</code> - the x-coordinate.</dd>
  1517. <dd><code>y</code> - the y-coordinate.</dd>
  1518. </dl>
  1519. </li>
  1520. </ul>
  1521. <a name="scale-double-double-">
  1522. <!-- -->
  1523. </a>
  1524. <ul class="blockList">
  1525. <li class="blockList">
  1526. <h4>scale</h4>
  1527. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.976">scale</a>(double&nbsp;sx,
  1528. double&nbsp;sy)</pre>
  1529. <div class="block">Applies a scale transformation.</div>
  1530. <dl>
  1531. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1532. <dd><code>scale</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1533. <dt><span class="paramLabel">Parameters:</span></dt>
  1534. <dd><code>sx</code> - the x-scaling factor.</dd>
  1535. <dd><code>sy</code> - the y-scaling factor.</dd>
  1536. </dl>
  1537. </li>
  1538. </ul>
  1539. <a name="shear-double-double-">
  1540. <!-- -->
  1541. </a>
  1542. <ul class="blockList">
  1543. <li class="blockList">
  1544. <h4>shear</h4>
  1545. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.993">shear</a>(double&nbsp;shx,
  1546. double&nbsp;shy)</pre>
  1547. <div class="block">Applies a shear transformation. This is equivalent to the following
  1548. call to the <code>transform</code> method:
  1549. <br><br>
  1550. <ul><li>
  1551. <code>transform(AffineTransform.getShearInstance(shx, shy));</code>
  1552. </ul></div>
  1553. <dl>
  1554. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1555. <dd><code>shear</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1556. <dt><span class="paramLabel">Parameters:</span></dt>
  1557. <dd><code>shx</code> - the x-shear factor.</dd>
  1558. <dd><code>shy</code> - the y-shear factor.</dd>
  1559. </dl>
  1560. </li>
  1561. </ul>
  1562. <a name="transform-java.awt.geom.AffineTransform-">
  1563. <!-- -->
  1564. </a>
  1565. <ul class="blockList">
  1566. <li class="blockList">
  1567. <h4>transform</h4>
  1568. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1003">transform</a>(java.awt.geom.AffineTransform&nbsp;t)</pre>
  1569. <div class="block">Applies this transform to the existing transform by concatenating it.</div>
  1570. <dl>
  1571. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1572. <dd><code>transform</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1573. <dt><span class="paramLabel">Parameters:</span></dt>
  1574. <dd><code>t</code> - the transform (<code>null</code> not permitted).</dd>
  1575. </dl>
  1576. </li>
  1577. </ul>
  1578. <a name="getTransform--">
  1579. <!-- -->
  1580. </a>
  1581. <ul class="blockList">
  1582. <li class="blockList">
  1583. <h4>getTransform</h4>
  1584. <pre>public&nbsp;java.awt.geom.AffineTransform&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1017">getTransform</a>()</pre>
  1585. <div class="block">Returns a copy of the current transform.</div>
  1586. <dl>
  1587. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1588. <dd><code>getTransform</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1589. <dt><span class="returnLabel">Returns:</span></dt>
  1590. <dd>A copy of the current transform (never <code>null</code>).</dd>
  1591. <dt><span class="seeLabel">See Also:</span></dt>
  1592. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setTransform-java.awt.geom.AffineTransform-"><code>setTransform(java.awt.geom.AffineTransform)</code></a></dd>
  1593. </dl>
  1594. </li>
  1595. </ul>
  1596. <a name="setTransform-java.awt.geom.AffineTransform-">
  1597. <!-- -->
  1598. </a>
  1599. <ul class="blockList">
  1600. <li class="blockList">
  1601. <h4>setTransform</h4>
  1602. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1030">setTransform</a>(java.awt.geom.AffineTransform&nbsp;t)</pre>
  1603. <div class="block">Sets the transform.</div>
  1604. <dl>
  1605. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1606. <dd><code>setTransform</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1607. <dt><span class="paramLabel">Parameters:</span></dt>
  1608. <dd><code>t</code> - the new transform (<code>null</code> permitted, resets to the
  1609. identity transform).</dd>
  1610. <dt><span class="seeLabel">See Also:</span></dt>
  1611. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getTransform--"><code>getTransform()</code></a></dd>
  1612. </dl>
  1613. </li>
  1614. </ul>
  1615. <a name="hit-java.awt.Rectangle-java.awt.Shape-boolean-">
  1616. <!-- -->
  1617. </a>
  1618. <ul class="blockList">
  1619. <li class="blockList">
  1620. <h4>hit</h4>
  1621. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1053">hit</a>(java.awt.Rectangle&nbsp;rect,
  1622. java.awt.Shape&nbsp;s,
  1623. boolean&nbsp;onStroke)</pre>
  1624. <div class="block">Returns <code>true</code> if the rectangle (in device space) intersects
  1625. with the shape (the interior, if <code>onStroke</code> is false,
  1626. otherwise the stroked outline of the shape).</div>
  1627. <dl>
  1628. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1629. <dd><code>hit</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1630. <dt><span class="paramLabel">Parameters:</span></dt>
  1631. <dd><code>rect</code> - a rectangle (in device space).</dd>
  1632. <dd><code>s</code> - the shape.</dd>
  1633. <dd><code>onStroke</code> - test the stroked outline only?</dd>
  1634. <dt><span class="returnLabel">Returns:</span></dt>
  1635. <dd>A boolean.</dd>
  1636. </dl>
  1637. </li>
  1638. </ul>
  1639. <a name="setPaintMode--">
  1640. <!-- -->
  1641. </a>
  1642. <ul class="blockList">
  1643. <li class="blockList">
  1644. <h4>setPaintMode</h4>
  1645. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1074">setPaintMode</a>()</pre>
  1646. <div class="block">Not implemented - the method does nothing.</div>
  1647. <dl>
  1648. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1649. <dd><code>setPaintMode</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1650. </dl>
  1651. </li>
  1652. </ul>
  1653. <a name="setXORMode-java.awt.Color-">
  1654. <!-- -->
  1655. </a>
  1656. <ul class="blockList">
  1657. <li class="blockList">
  1658. <h4>setXORMode</h4>
  1659. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1082">setXORMode</a>(java.awt.Color&nbsp;c1)</pre>
  1660. <div class="block">Not implemented - the method does nothing.</div>
  1661. <dl>
  1662. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1663. <dd><code>setXORMode</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1664. </dl>
  1665. </li>
  1666. </ul>
  1667. <a name="getClipBounds--">
  1668. <!-- -->
  1669. </a>
  1670. <ul class="blockList">
  1671. <li class="blockList">
  1672. <h4>getClipBounds</h4>
  1673. <pre>public&nbsp;java.awt.Rectangle&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1094">getClipBounds</a>()</pre>
  1674. <div class="block">Returns the bounds of the user clipping region.</div>
  1675. <dl>
  1676. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1677. <dd><code>getClipBounds</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1678. <dt><span class="returnLabel">Returns:</span></dt>
  1679. <dd>The clip bounds (possibly <code>null</code>).</dd>
  1680. <dt><span class="seeLabel">See Also:</span></dt>
  1681. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClip--"><code>getClip()</code></a></dd>
  1682. </dl>
  1683. </li>
  1684. </ul>
  1685. <a name="getClip--">
  1686. <!-- -->
  1687. </a>
  1688. <ul class="blockList">
  1689. <li class="blockList">
  1690. <h4>getClip</h4>
  1691. <pre>public&nbsp;java.awt.Shape&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1110">getClip</a>()</pre>
  1692. <div class="block">Returns the user clipping region. The initial default value is
  1693. <code>null</code>.</div>
  1694. <dl>
  1695. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1696. <dd><code>getClip</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1697. <dt><span class="returnLabel">Returns:</span></dt>
  1698. <dd>The user clipping region (possibly <code>null</code>).</dd>
  1699. <dt><span class="seeLabel">See Also:</span></dt>
  1700. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setClip-java.awt.Shape-"><code>setClip(java.awt.Shape)</code></a></dd>
  1701. </dl>
  1702. </li>
  1703. </ul>
  1704. <a name="setClip-java.awt.Shape-">
  1705. <!-- -->
  1706. </a>
  1707. <ul class="blockList">
  1708. <li class="blockList">
  1709. <h4>setClip</h4>
  1710. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1131">setClip</a>(java.awt.Shape&nbsp;shape)</pre>
  1711. <div class="block">Sets the user clipping region.</div>
  1712. <dl>
  1713. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1714. <dd><code>setClip</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1715. <dt><span class="paramLabel">Parameters:</span></dt>
  1716. <dd><code>shape</code> - the new user clipping region (<code>null</code> permitted).</dd>
  1717. <dt><span class="seeLabel">See Also:</span></dt>
  1718. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClip--"><code>getClip()</code></a></dd>
  1719. </dl>
  1720. </li>
  1721. </ul>
  1722. <a name="clip-java.awt.Shape-">
  1723. <!-- -->
  1724. </a>
  1725. <ul class="blockList">
  1726. <li class="blockList">
  1727. <h4>clip</h4>
  1728. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1175">clip</a>(java.awt.Shape&nbsp;s)</pre>
  1729. <div class="block">Clips to the intersection of the current clipping region and the
  1730. specified shape.
  1731. According to the Oracle API specification, this method will accept a
  1732. <code>null</code> argument, but there is an open bug report (since 2004)
  1733. that suggests this is wrong:
  1734. <p>
  1735. <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6206189">
  1736. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6206189</a>
  1737. In this implementation, a <code>null</code> argument is not permitted.</div>
  1738. <dl>
  1739. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1740. <dd><code>clip</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  1741. <dt><span class="paramLabel">Parameters:</span></dt>
  1742. <dd><code>s</code> - the clip shape (<code>null</code> not permitted).</dd>
  1743. </dl>
  1744. </li>
  1745. </ul>
  1746. <a name="clipRect-int-int-int-int-">
  1747. <!-- -->
  1748. </a>
  1749. <ul class="blockList">
  1750. <li class="blockList">
  1751. <h4>clipRect</h4>
  1752. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1209">clipRect</a>(int&nbsp;x,
  1753. int&nbsp;y,
  1754. int&nbsp;width,
  1755. int&nbsp;height)</pre>
  1756. <div class="block">Clips to the intersection of the current clipping region and the
  1757. specified rectangle.</div>
  1758. <dl>
  1759. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1760. <dd><code>clipRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1761. <dt><span class="paramLabel">Parameters:</span></dt>
  1762. <dd><code>x</code> - the x-coordinate.</dd>
  1763. <dd><code>y</code> - the y-coordinate.</dd>
  1764. <dd><code>width</code> - the width.</dd>
  1765. <dd><code>height</code> - the height.</dd>
  1766. </dl>
  1767. </li>
  1768. </ul>
  1769. <a name="setClip-int-int-int-int-">
  1770. <!-- -->
  1771. </a>
  1772. <ul class="blockList">
  1773. <li class="blockList">
  1774. <h4>setClip</h4>
  1775. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1225">setClip</a>(int&nbsp;x,
  1776. int&nbsp;y,
  1777. int&nbsp;width,
  1778. int&nbsp;height)</pre>
  1779. <div class="block">Sets the user clipping region to the specified rectangle.</div>
  1780. <dl>
  1781. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1782. <dd><code>setClip</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1783. <dt><span class="paramLabel">Parameters:</span></dt>
  1784. <dd><code>x</code> - the x-coordinate.</dd>
  1785. <dd><code>y</code> - the y-coordinate.</dd>
  1786. <dd><code>width</code> - the width.</dd>
  1787. <dd><code>height</code> - the height.</dd>
  1788. <dt><span class="seeLabel">See Also:</span></dt>
  1789. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClip--"><code>getClip()</code></a></dd>
  1790. </dl>
  1791. </li>
  1792. </ul>
  1793. <a name="drawLine-int-int-int-int-">
  1794. <!-- -->
  1795. </a>
  1796. <ul class="blockList">
  1797. <li class="blockList">
  1798. <h4>drawLine</h4>
  1799. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1240">drawLine</a>(int&nbsp;x1,
  1800. int&nbsp;y1,
  1801. int&nbsp;x2,
  1802. int&nbsp;y2)</pre>
  1803. <div class="block">Draws a line from <code>(x1, y1)</code> to <code>(x2, y2)</code> using
  1804. the current <code>paint</code> and <code>stroke</code>.</div>
  1805. <dl>
  1806. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1807. <dd><code>drawLine</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1808. <dt><span class="paramLabel">Parameters:</span></dt>
  1809. <dd><code>x1</code> - the x-coordinate of the start point.</dd>
  1810. <dd><code>y1</code> - the y-coordinate of the start point.</dd>
  1811. <dd><code>x2</code> - the x-coordinate of the end point.</dd>
  1812. <dd><code>y2</code> - the x-coordinate of the end point.</dd>
  1813. </dl>
  1814. </li>
  1815. </ul>
  1816. <a name="fillRect-int-int-int-int-">
  1817. <!-- -->
  1818. </a>
  1819. <ul class="blockList">
  1820. <li class="blockList">
  1821. <h4>fillRect</h4>
  1822. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1258">fillRect</a>(int&nbsp;x,
  1823. int&nbsp;y,
  1824. int&nbsp;width,
  1825. int&nbsp;height)</pre>
  1826. <div class="block">Fills the specified rectangle with the current <code>paint</code>.</div>
  1827. <dl>
  1828. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1829. <dd><code>fillRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1830. <dt><span class="paramLabel">Parameters:</span></dt>
  1831. <dd><code>x</code> - the x-coordinate.</dd>
  1832. <dd><code>y</code> - the y-coordinate.</dd>
  1833. <dd><code>width</code> - the rectangle width.</dd>
  1834. <dd><code>height</code> - the rectangle height.</dd>
  1835. </dl>
  1836. </li>
  1837. </ul>
  1838. <a name="clearRect-int-int-int-int-">
  1839. <!-- -->
  1840. </a>
  1841. <ul class="blockList">
  1842. <li class="blockList">
  1843. <h4>clearRect</h4>
  1844. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1276">clearRect</a>(int&nbsp;x,
  1845. int&nbsp;y,
  1846. int&nbsp;width,
  1847. int&nbsp;height)</pre>
  1848. <div class="block">Clears the specified rectangle by filling it with the current
  1849. background color. If the background color is <code>null</code>, this
  1850. method will do nothing.</div>
  1851. <dl>
  1852. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1853. <dd><code>clearRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1854. <dt><span class="paramLabel">Parameters:</span></dt>
  1855. <dd><code>x</code> - the x-coordinate.</dd>
  1856. <dd><code>y</code> - the y-coordinate.</dd>
  1857. <dd><code>width</code> - the width.</dd>
  1858. <dd><code>height</code> - the height.</dd>
  1859. <dt><span class="seeLabel">See Also:</span></dt>
  1860. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getBackground--"><code>getBackground()</code></a></dd>
  1861. </dl>
  1862. </li>
  1863. </ul>
  1864. <a name="drawRoundRect-int-int-int-int-int-int-">
  1865. <!-- -->
  1866. </a>
  1867. <ul class="blockList">
  1868. <li class="blockList">
  1869. <h4>drawRoundRect</h4>
  1870. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1300">drawRoundRect</a>(int&nbsp;x,
  1871. int&nbsp;y,
  1872. int&nbsp;width,
  1873. int&nbsp;height,
  1874. int&nbsp;arcWidth,
  1875. int&nbsp;arcHeight)</pre>
  1876. <div class="block">Draws a rectangle with rounded corners using the current
  1877. <code>paint</code> and <code>stroke</code>.</div>
  1878. <dl>
  1879. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1880. <dd><code>drawRoundRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1881. <dt><span class="paramLabel">Parameters:</span></dt>
  1882. <dd><code>x</code> - the x-coordinate.</dd>
  1883. <dd><code>y</code> - the y-coordinate.</dd>
  1884. <dd><code>width</code> - the width.</dd>
  1885. <dd><code>height</code> - the height.</dd>
  1886. <dd><code>arcWidth</code> - the arc-width.</dd>
  1887. <dd><code>arcHeight</code> - the arc-height.</dd>
  1888. <dt><span class="seeLabel">See Also:</span></dt>
  1889. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillRoundRect-int-int-int-int-int-int-"><code>fillRoundRect(int, int, int, int, int, int)</code></a></dd>
  1890. </dl>
  1891. </li>
  1892. </ul>
  1893. <a name="fillRoundRect-int-int-int-int-int-int-">
  1894. <!-- -->
  1895. </a>
  1896. <ul class="blockList">
  1897. <li class="blockList">
  1898. <h4>fillRoundRect</h4>
  1899. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1319">fillRoundRect</a>(int&nbsp;x,
  1900. int&nbsp;y,
  1901. int&nbsp;width,
  1902. int&nbsp;height,
  1903. int&nbsp;arcWidth,
  1904. int&nbsp;arcHeight)</pre>
  1905. <div class="block">Fills a rectangle with rounded corners using the current <code>paint</code>.</div>
  1906. <dl>
  1907. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1908. <dd><code>fillRoundRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1909. <dt><span class="paramLabel">Parameters:</span></dt>
  1910. <dd><code>x</code> - the x-coordinate.</dd>
  1911. <dd><code>y</code> - the y-coordinate.</dd>
  1912. <dd><code>width</code> - the width.</dd>
  1913. <dd><code>height</code> - the height.</dd>
  1914. <dd><code>arcWidth</code> - the arc-width.</dd>
  1915. <dd><code>arcHeight</code> - the arc-height.</dd>
  1916. <dt><span class="seeLabel">See Also:</span></dt>
  1917. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawRoundRect-int-int-int-int-int-int-"><code>drawRoundRect(int, int, int, int, int, int)</code></a></dd>
  1918. </dl>
  1919. </li>
  1920. </ul>
  1921. <a name="drawOval-int-int-int-int-">
  1922. <!-- -->
  1923. </a>
  1924. <ul class="blockList">
  1925. <li class="blockList">
  1926. <h4>drawOval</h4>
  1927. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1337">drawOval</a>(int&nbsp;x,
  1928. int&nbsp;y,
  1929. int&nbsp;width,
  1930. int&nbsp;height)</pre>
  1931. <div class="block">Draws an oval framed by the rectangle <code>(x, y, width, height)</code>
  1932. using the current <code>paint</code> and <code>stroke</code>.</div>
  1933. <dl>
  1934. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1935. <dd><code>drawOval</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1936. <dt><span class="paramLabel">Parameters:</span></dt>
  1937. <dd><code>x</code> - the x-coordinate.</dd>
  1938. <dd><code>y</code> - the y-coordinate.</dd>
  1939. <dd><code>width</code> - the width.</dd>
  1940. <dd><code>height</code> - the height.</dd>
  1941. <dt><span class="seeLabel">See Also:</span></dt>
  1942. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillOval-int-int-int-int-"><code>fillOval(int, int, int, int)</code></a></dd>
  1943. </dl>
  1944. </li>
  1945. </ul>
  1946. <a name="fillOval-int-int-int-int-">
  1947. <!-- -->
  1948. </a>
  1949. <ul class="blockList">
  1950. <li class="blockList">
  1951. <h4>fillOval</h4>
  1952. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1353">fillOval</a>(int&nbsp;x,
  1953. int&nbsp;y,
  1954. int&nbsp;width,
  1955. int&nbsp;height)</pre>
  1956. <div class="block">Fills an oval framed by the rectangle <code>(x, y, width, height)</code>.</div>
  1957. <dl>
  1958. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1959. <dd><code>fillOval</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1960. <dt><span class="paramLabel">Parameters:</span></dt>
  1961. <dd><code>x</code> - the x-coordinate.</dd>
  1962. <dd><code>y</code> - the y-coordinate.</dd>
  1963. <dd><code>width</code> - the width.</dd>
  1964. <dd><code>height</code> - the height.</dd>
  1965. <dt><span class="seeLabel">See Also:</span></dt>
  1966. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawOval-int-int-int-int-"><code>drawOval(int, int, int, int)</code></a></dd>
  1967. </dl>
  1968. </li>
  1969. </ul>
  1970. <a name="drawArc-int-int-int-int-int-int-">
  1971. <!-- -->
  1972. </a>
  1973. <ul class="blockList">
  1974. <li class="blockList">
  1975. <h4>drawArc</h4>
  1976. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1374">drawArc</a>(int&nbsp;x,
  1977. int&nbsp;y,
  1978. int&nbsp;width,
  1979. int&nbsp;height,
  1980. int&nbsp;startAngle,
  1981. int&nbsp;arcAngle)</pre>
  1982. <div class="block">Draws an arc contained within the rectangle
  1983. <code>(x, y, width, height)</code>, starting at <code>startAngle</code>
  1984. and continuing through <code>arcAngle</code> degrees using
  1985. the current <code>paint</code> and <code>stroke</code>.</div>
  1986. <dl>
  1987. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  1988. <dd><code>drawArc</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  1989. <dt><span class="paramLabel">Parameters:</span></dt>
  1990. <dd><code>x</code> - the x-coordinate.</dd>
  1991. <dd><code>y</code> - the y-coordinate.</dd>
  1992. <dd><code>width</code> - the width.</dd>
  1993. <dd><code>height</code> - the height.</dd>
  1994. <dd><code>startAngle</code> - the start angle in degrees, 0 = 3 o'clock.</dd>
  1995. <dd><code>arcAngle</code> - the angle (anticlockwise) in degrees.</dd>
  1996. <dt><span class="seeLabel">See Also:</span></dt>
  1997. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillArc-int-int-int-int-int-int-"><code>fillArc(int, int, int, int, int, int)</code></a></dd>
  1998. </dl>
  1999. </li>
  2000. </ul>
  2001. <a name="fillArc-int-int-int-int-int-int-">
  2002. <!-- -->
  2003. </a>
  2004. <ul class="blockList">
  2005. <li class="blockList">
  2006. <h4>fillArc</h4>
  2007. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1396">fillArc</a>(int&nbsp;x,
  2008. int&nbsp;y,
  2009. int&nbsp;width,
  2010. int&nbsp;height,
  2011. int&nbsp;startAngle,
  2012. int&nbsp;arcAngle)</pre>
  2013. <div class="block">Fills an arc contained within the rectangle
  2014. <code>(x, y, width, height)</code>, starting at <code>startAngle</code>
  2015. and continuing through <code>arcAngle</code> degrees, using
  2016. the current <code>paint</code>.</div>
  2017. <dl>
  2018. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2019. <dd><code>fillArc</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2020. <dt><span class="paramLabel">Parameters:</span></dt>
  2021. <dd><code>x</code> - the x-coordinate.</dd>
  2022. <dd><code>y</code> - the y-coordinate.</dd>
  2023. <dd><code>width</code> - the width.</dd>
  2024. <dd><code>height</code> - the height.</dd>
  2025. <dd><code>startAngle</code> - the start angle in degrees, 0 = 3 o'clock.</dd>
  2026. <dd><code>arcAngle</code> - the angle (anticlockwise) in degrees.</dd>
  2027. <dt><span class="seeLabel">See Also:</span></dt>
  2028. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawArc-int-int-int-int-int-int-"><code>drawArc(int, int, int, int, int, int)</code></a></dd>
  2029. </dl>
  2030. </li>
  2031. </ul>
  2032. <a name="drawPolyline-int:A-int:A-int-">
  2033. <!-- -->
  2034. </a>
  2035. <ul class="blockList">
  2036. <li class="blockList">
  2037. <h4>drawPolyline</h4>
  2038. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1411">drawPolyline</a>(int[]&nbsp;xPoints,
  2039. int[]&nbsp;yPoints,
  2040. int&nbsp;nPoints)</pre>
  2041. <div class="block">Draws the specified multi-segment line using the current
  2042. <code>paint</code> and <code>stroke</code>.</div>
  2043. <dl>
  2044. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2045. <dd><code>drawPolyline</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2046. <dt><span class="paramLabel">Parameters:</span></dt>
  2047. <dd><code>xPoints</code> - the x-points.</dd>
  2048. <dd><code>yPoints</code> - the y-points.</dd>
  2049. <dd><code>nPoints</code> - the number of points to use for the polyline.</dd>
  2050. </dl>
  2051. </li>
  2052. </ul>
  2053. <a name="drawPolygon-int:A-int:A-int-">
  2054. <!-- -->
  2055. </a>
  2056. <ul class="blockList">
  2057. <li class="blockList">
  2058. <h4>drawPolygon</h4>
  2059. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1426">drawPolygon</a>(int[]&nbsp;xPoints,
  2060. int[]&nbsp;yPoints,
  2061. int&nbsp;nPoints)</pre>
  2062. <div class="block">Draws the specified polygon using the current <code>paint</code> and
  2063. <code>stroke</code>.</div>
  2064. <dl>
  2065. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2066. <dd><code>drawPolygon</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2067. <dt><span class="paramLabel">Parameters:</span></dt>
  2068. <dd><code>xPoints</code> - the x-points.</dd>
  2069. <dd><code>yPoints</code> - the y-points.</dd>
  2070. <dd><code>nPoints</code> - the number of points to use for the polygon.</dd>
  2071. <dt><span class="seeLabel">See Also:</span></dt>
  2072. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillPolygon-int:A-int:A-int-"><code>fillPolygon(int[], int[], int)</code></a></dd>
  2073. </dl>
  2074. </li>
  2075. </ul>
  2076. <a name="fillPolygon-int:A-int:A-int-">
  2077. <!-- -->
  2078. </a>
  2079. <ul class="blockList">
  2080. <li class="blockList">
  2081. <h4>fillPolygon</h4>
  2082. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1441">fillPolygon</a>(int[]&nbsp;xPoints,
  2083. int[]&nbsp;yPoints,
  2084. int&nbsp;nPoints)</pre>
  2085. <div class="block">Fills the specified polygon using the current <code>paint</code>.</div>
  2086. <dl>
  2087. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2088. <dd><code>fillPolygon</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2089. <dt><span class="paramLabel">Parameters:</span></dt>
  2090. <dd><code>xPoints</code> - the x-points.</dd>
  2091. <dd><code>yPoints</code> - the y-points.</dd>
  2092. <dd><code>nPoints</code> - the number of points to use for the polygon.</dd>
  2093. <dt><span class="seeLabel">See Also:</span></dt>
  2094. <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawPolygon-int:A-int:A-int-"><code>drawPolygon(int[], int[], int)</code></a></dd>
  2095. </dl>
  2096. </li>
  2097. </ul>
  2098. <a name="createPolygon-int:A-int:A-int-boolean-">
  2099. <!-- -->
  2100. </a>
  2101. <ul class="blockList">
  2102. <li class="blockList">
  2103. <h4>createPolygon</h4>
  2104. <pre>public&nbsp;java.awt.geom.GeneralPath&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1457">createPolygon</a>(int[]&nbsp;xPoints,
  2105. int[]&nbsp;yPoints,
  2106. int&nbsp;nPoints,
  2107. boolean&nbsp;close)</pre>
  2108. <div class="block">Creates a polygon from the specified <code>x</code> and
  2109. <code>y</code> coordinate arrays.</div>
  2110. <dl>
  2111. <dt><span class="paramLabel">Parameters:</span></dt>
  2112. <dd><code>xPoints</code> - the x-points.</dd>
  2113. <dd><code>yPoints</code> - the y-points.</dd>
  2114. <dd><code>nPoints</code> - the number of points to use for the polyline.</dd>
  2115. <dd><code>close</code> - closed?</dd>
  2116. <dt><span class="returnLabel">Returns:</span></dt>
  2117. <dd>A polygon.</dd>
  2118. </dl>
  2119. </li>
  2120. </ul>
  2121. <a name="drawImage-java.awt.Image-int-int-java.awt.image.ImageObserver-">
  2122. <!-- -->
  2123. </a>
  2124. <ul class="blockList">
  2125. <li class="blockList">
  2126. <h4>drawImage</h4>
  2127. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1482">drawImage</a>(java.awt.Image&nbsp;img,
  2128. int&nbsp;x,
  2129. int&nbsp;y,
  2130. java.awt.image.ImageObserver&nbsp;observer)</pre>
  2131. <div class="block">Draws an image at the location <code>(x, y)</code>. Note that the
  2132. <code>observer</code> is ignored.</div>
  2133. <dl>
  2134. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2135. <dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2136. <dt><span class="paramLabel">Parameters:</span></dt>
  2137. <dd><code>img</code> - the image.</dd>
  2138. <dd><code>x</code> - the x-coordinate.</dd>
  2139. <dd><code>y</code> - the y-coordinate.</dd>
  2140. <dd><code>observer</code> - ignored.</dd>
  2141. <dt><span class="returnLabel">Returns:</span></dt>
  2142. <dd><code>true</code> if the image is drawn.</dd>
  2143. </dl>
  2144. </li>
  2145. </ul>
  2146. <a name="drawImage-java.awt.Image-int-int-int-int-java.awt.image.ImageObserver-">
  2147. <!-- -->
  2148. </a>
  2149. <ul class="blockList">
  2150. <li class="blockList">
  2151. <h4>drawImage</h4>
  2152. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1508">drawImage</a>(java.awt.Image&nbsp;img,
  2153. int&nbsp;x,
  2154. int&nbsp;y,
  2155. int&nbsp;width,
  2156. int&nbsp;height,
  2157. java.awt.image.ImageObserver&nbsp;observer)</pre>
  2158. <div class="block">Draws an image at the location <code>(x, y)</code>. Note that the
  2159. <code>observer</code> is ignored.</div>
  2160. <dl>
  2161. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2162. <dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2163. <dt><span class="paramLabel">Parameters:</span></dt>
  2164. <dd><code>img</code> - the image.</dd>
  2165. <dd><code>x</code> - the x-coordinate.</dd>
  2166. <dd><code>y</code> - the y-coordinate.</dd>
  2167. <dd><code>width</code> - the width of the target rectangle for the image.</dd>
  2168. <dd><code>height</code> - the height of the target rectangle for the image.</dd>
  2169. <dd><code>observer</code> - ignored.</dd>
  2170. <dt><span class="returnLabel">Returns:</span></dt>
  2171. <dd><code>true</code> if the image is drawn.</dd>
  2172. </dl>
  2173. </li>
  2174. </ul>
  2175. <a name="drawImage-java.awt.Image-int-int-java.awt.Color-java.awt.image.ImageObserver-">
  2176. <!-- -->
  2177. </a>
  2178. <ul class="blockList">
  2179. <li class="blockList">
  2180. <h4>drawImage</h4>
  2181. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1533">drawImage</a>(java.awt.Image&nbsp;img,
  2182. int&nbsp;x,
  2183. int&nbsp;y,
  2184. java.awt.Color&nbsp;bgcolor,
  2185. java.awt.image.ImageObserver&nbsp;observer)</pre>
  2186. <div class="block">Draws an image at the location <code>(x, y)</code>. Note that the
  2187. <code>observer</code> is ignored.</div>
  2188. <dl>
  2189. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2190. <dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2191. <dt><span class="paramLabel">Parameters:</span></dt>
  2192. <dd><code>img</code> - the image (<code>null</code> not permitted).</dd>
  2193. <dd><code>x</code> - the x-coordinate.</dd>
  2194. <dd><code>y</code> - the y-coordinate.</dd>
  2195. <dd><code>bgcolor</code> - the background color (<code>null</code> permitted).</dd>
  2196. <dd><code>observer</code> - ignored.</dd>
  2197. <dt><span class="returnLabel">Returns:</span></dt>
  2198. <dd><code>true</code> if the image is drawn.</dd>
  2199. </dl>
  2200. </li>
  2201. </ul>
  2202. <a name="drawImage-java.awt.Image-int-int-int-int-java.awt.Color-java.awt.image.ImageObserver-">
  2203. <!-- -->
  2204. </a>
  2205. <ul class="blockList">
  2206. <li class="blockList">
  2207. <h4>drawImage</h4>
  2208. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1562">drawImage</a>(java.awt.Image&nbsp;img,
  2209. int&nbsp;x,
  2210. int&nbsp;y,
  2211. int&nbsp;w,
  2212. int&nbsp;h,
  2213. java.awt.Color&nbsp;bgcolor,
  2214. java.awt.image.ImageObserver&nbsp;observer)</pre>
  2215. <div class="block">Draws an image to the rectangle <code>(x, y, w, h)</code> (scaling it if
  2216. required), first filling the background with the specified color. Note
  2217. that the <code>observer</code> is ignored.</div>
  2218. <dl>
  2219. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2220. <dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2221. <dt><span class="paramLabel">Parameters:</span></dt>
  2222. <dd><code>img</code> - the image.</dd>
  2223. <dd><code>x</code> - the x-coordinate.</dd>
  2224. <dd><code>y</code> - the y-coordinate.</dd>
  2225. <dd><code>w</code> - the width.</dd>
  2226. <dd><code>h</code> - the height.</dd>
  2227. <dd><code>bgcolor</code> - the background color (<code>null</code> permitted).</dd>
  2228. <dd><code>observer</code> - ignored.</dd>
  2229. <dt><span class="returnLabel">Returns:</span></dt>
  2230. <dd><code>true</code> if the image is drawn.</dd>
  2231. </dl>
  2232. </li>
  2233. </ul>
  2234. <a name="drawImage-java.awt.Image-int-int-int-int-int-int-int-int-java.awt.image.ImageObserver-">
  2235. <!-- -->
  2236. </a>
  2237. <ul class="blockList">
  2238. <li class="blockList">
  2239. <h4>drawImage</h4>
  2240. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1590">drawImage</a>(java.awt.Image&nbsp;img,
  2241. int&nbsp;dx1,
  2242. int&nbsp;dy1,
  2243. int&nbsp;dx2,
  2244. int&nbsp;dy2,
  2245. int&nbsp;sx1,
  2246. int&nbsp;sy1,
  2247. int&nbsp;sx2,
  2248. int&nbsp;sy2,
  2249. java.awt.image.ImageObserver&nbsp;observer)</pre>
  2250. <div class="block">Draws part of an image (defined by the source rectangle
  2251. <code>(sx1, sy1, sx2, sy2)</code>) into the destination rectangle
  2252. <code>(dx1, dy1, dx2, dy2)</code>. Note that the <code>observer</code>
  2253. is ignored.</div>
  2254. <dl>
  2255. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2256. <dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2257. <dt><span class="paramLabel">Parameters:</span></dt>
  2258. <dd><code>img</code> - the image.</dd>
  2259. <dd><code>dx1</code> - the x-coordinate for the top left of the destination.</dd>
  2260. <dd><code>dy1</code> - the y-coordinate for the top left of the destination.</dd>
  2261. <dd><code>dx2</code> - the x-coordinate for the bottom right of the destination.</dd>
  2262. <dd><code>dy2</code> - the y-coordinate for the bottom right of the destination.</dd>
  2263. <dd><code>sx1</code> - the x-coordinate for the top left of the source.</dd>
  2264. <dd><code>sy1</code> - the y-coordinate for the top left of the source.</dd>
  2265. <dd><code>sx2</code> - the x-coordinate for the bottom right of the source.</dd>
  2266. <dd><code>sy2</code> - the y-coordinate for the bottom right of the source.</dd>
  2267. <dt><span class="returnLabel">Returns:</span></dt>
  2268. <dd><code>true</code> if the image is drawn.</dd>
  2269. </dl>
  2270. </li>
  2271. </ul>
  2272. <a name="drawImage-java.awt.Image-int-int-int-int-int-int-int-int-java.awt.Color-java.awt.image.ImageObserver-">
  2273. <!-- -->
  2274. </a>
  2275. <ul class="blockList">
  2276. <li class="blockList">
  2277. <h4>drawImage</h4>
  2278. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1623">drawImage</a>(java.awt.Image&nbsp;img,
  2279. int&nbsp;dx1,
  2280. int&nbsp;dy1,
  2281. int&nbsp;dx2,
  2282. int&nbsp;dy2,
  2283. int&nbsp;sx1,
  2284. int&nbsp;sy1,
  2285. int&nbsp;sx2,
  2286. int&nbsp;sy2,
  2287. java.awt.Color&nbsp;bgcolor,
  2288. java.awt.image.ImageObserver&nbsp;observer)</pre>
  2289. <div class="block">Draws part of an image (defined by the source rectangle
  2290. <code>(sx1, sy1, sx2, sy2)</code>) into the destination rectangle
  2291. <code>(dx1, dy1, dx2, dy2)</code>. The destination rectangle is first
  2292. cleared by filling it with the specified <code>bgcolor</code>. Note that
  2293. the <code>observer</code> is ignored.</div>
  2294. <dl>
  2295. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2296. <dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2297. <dt><span class="paramLabel">Parameters:</span></dt>
  2298. <dd><code>img</code> - the image.</dd>
  2299. <dd><code>dx1</code> - the x-coordinate for the top left of the destination.</dd>
  2300. <dd><code>dy1</code> - the y-coordinate for the top left of the destination.</dd>
  2301. <dd><code>dx2</code> - the x-coordinate for the bottom right of the destination.</dd>
  2302. <dd><code>dy2</code> - the y-coordinate for the bottom right of the destination.</dd>
  2303. <dd><code>sx1</code> - the x-coordinate for the top left of the source.</dd>
  2304. <dd><code>sy1</code> - the y-coordinate for the top left of the source.</dd>
  2305. <dd><code>sx2</code> - the x-coordinate for the bottom right of the source.</dd>
  2306. <dd><code>sy2</code> - the y-coordinate for the bottom right of the source.</dd>
  2307. <dd><code>bgcolor</code> - the background color (<code>null</code> permitted).</dd>
  2308. <dd><code>observer</code> - ignored.</dd>
  2309. <dt><span class="returnLabel">Returns:</span></dt>
  2310. <dd><code>true</code> if the image is drawn.</dd>
  2311. </dl>
  2312. </li>
  2313. </ul>
  2314. <a name="drawRenderedImage-java.awt.image.RenderedImage-java.awt.geom.AffineTransform-">
  2315. <!-- -->
  2316. </a>
  2317. <ul class="blockList">
  2318. <li class="blockList">
  2319. <h4>drawRenderedImage</h4>
  2320. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1634">drawRenderedImage</a>(java.awt.image.RenderedImage&nbsp;img,
  2321. java.awt.geom.AffineTransform&nbsp;xform)</pre>
  2322. <dl>
  2323. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2324. <dd><code>drawRenderedImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  2325. </dl>
  2326. </li>
  2327. </ul>
  2328. <a name="drawRenderableImage-java.awt.image.renderable.RenderableImage-java.awt.geom.AffineTransform-">
  2329. <!-- -->
  2330. </a>
  2331. <ul class="blockList">
  2332. <li class="blockList">
  2333. <h4>drawRenderableImage</h4>
  2334. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1679">drawRenderableImage</a>(java.awt.image.renderable.RenderableImage&nbsp;img,
  2335. java.awt.geom.AffineTransform&nbsp;xform)</pre>
  2336. <div class="block">Draws the renderable image.</div>
  2337. <dl>
  2338. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2339. <dd><code>drawRenderableImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  2340. <dt><span class="paramLabel">Parameters:</span></dt>
  2341. <dd><code>img</code> - the renderable image.</dd>
  2342. <dd><code>xform</code> - the transform.</dd>
  2343. </dl>
  2344. </li>
  2345. </ul>
  2346. <a name="drawImage-java.awt.Image-java.awt.geom.AffineTransform-java.awt.image.ImageObserver-">
  2347. <!-- -->
  2348. </a>
  2349. <ul class="blockList">
  2350. <li class="blockList">
  2351. <h4>drawImage</h4>
  2352. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1696">drawImage</a>(java.awt.Image&nbsp;img,
  2353. java.awt.geom.AffineTransform&nbsp;xform,
  2354. java.awt.image.ImageObserver&nbsp;obs)</pre>
  2355. <div class="block">Draws an image with the specified transform. Note that the
  2356. <code>observer</code> is ignored.</div>
  2357. <dl>
  2358. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2359. <dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  2360. <dt><span class="paramLabel">Parameters:</span></dt>
  2361. <dd><code>img</code> - the image.</dd>
  2362. <dd><code>xform</code> - the transform.</dd>
  2363. <dd><code>obs</code> - the image observer (ignored).</dd>
  2364. <dt><span class="returnLabel">Returns:</span></dt>
  2365. <dd><code>true</code> if the image is drawn.</dd>
  2366. </dl>
  2367. </li>
  2368. </ul>
  2369. <a name="drawImage-java.awt.image.BufferedImage-java.awt.image.BufferedImageOp-int-int-">
  2370. <!-- -->
  2371. </a>
  2372. <ul class="blockList">
  2373. <li class="blockList">
  2374. <h4>drawImage</h4>
  2375. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1715">drawImage</a>(java.awt.image.BufferedImage&nbsp;img,
  2376. java.awt.image.BufferedImageOp&nbsp;op,
  2377. int&nbsp;x,
  2378. int&nbsp;y)</pre>
  2379. <div class="block">Draws the image resulting from applying the <code>BufferedImageOp</code>
  2380. to the specified image at the location <code>(x, y)</code>.</div>
  2381. <dl>
  2382. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2383. <dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
  2384. <dt><span class="paramLabel">Parameters:</span></dt>
  2385. <dd><code>img</code> - the image.</dd>
  2386. <dd><code>op</code> - the operation.</dd>
  2387. <dd><code>x</code> - the x-coordinate.</dd>
  2388. <dd><code>y</code> - the y-coordinate.</dd>
  2389. </dl>
  2390. </li>
  2391. </ul>
  2392. <a name="copyArea-int-int-int-int-int-int-">
  2393. <!-- -->
  2394. </a>
  2395. <ul class="blockList">
  2396. <li class="blockList">
  2397. <h4>copyArea</h4>
  2398. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1731">copyArea</a>(int&nbsp;x,
  2399. int&nbsp;y,
  2400. int&nbsp;width,
  2401. int&nbsp;height,
  2402. int&nbsp;dx,
  2403. int&nbsp;dy)</pre>
  2404. <div class="block">Not yet implemented.</div>
  2405. <dl>
  2406. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2407. <dd><code>copyArea</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2408. <dt><span class="paramLabel">Parameters:</span></dt>
  2409. <dd><code>x</code> - the x-coordinate.</dd>
  2410. <dd><code>y</code> - the y-coordinate.</dd>
  2411. <dd><code>width</code> - the width of the area.</dd>
  2412. <dd><code>height</code> - the height of the area.</dd>
  2413. <dd><code>dx</code> - the delta x.</dd>
  2414. <dd><code>dy</code> - the delta y.</dd>
  2415. </dl>
  2416. </li>
  2417. </ul>
  2418. <a name="dispose--">
  2419. <!-- -->
  2420. </a>
  2421. <ul class="blockListLast">
  2422. <li class="blockList">
  2423. <h4>dispose</h4>
  2424. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1739">dispose</a>()</pre>
  2425. <div class="block">This method does nothing.</div>
  2426. <dl>
  2427. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  2428. <dd><code>dispose</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
  2429. </dl>
  2430. </li>
  2431. </ul>
  2432. </li>
  2433. </ul>
  2434. </li>
  2435. </ul>
  2436. </div>
  2437. </div>
  2438. <!-- ========= END OF CLASS DATA ========= -->
  2439. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  2440. <div class="bottomNav"><a name="navbar.bottom">
  2441. <!-- -->
  2442. </a>
  2443. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  2444. <a name="navbar.bottom.firstrow">
  2445. <!-- -->
  2446. </a>
  2447. <ul class="navList" title="Navigation">
  2448. <li><a href="../../../../overview-summary.html">Overview</a></li>
  2449. <li><a href="package-summary.html">Package</a></li>
  2450. <li class="navBarCell1Rev">Class</li>
  2451. <li><a href="class-use/FXGraphics2D.html">Use</a></li>
  2452. <li><a href="package-tree.html">Tree</a></li>
  2453. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  2454. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  2455. <li><a href="../../../../help-doc.html">Help</a></li>
  2456. </ul>
  2457. </div>
  2458. <div class="subNav">
  2459. <ul class="navList">
  2460. <li><a href="../../../../org/jfree/chart/fx/ChartViewerSkin.html" title="class in org.jfree.chart.fx"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  2461. <li>Next&nbsp;Class</li>
  2462. </ul>
  2463. <ul class="navList">
  2464. <li><a href="../../../../index.html?org/jfree/chart/fx/FXGraphics2D.html" target="_top">Frames</a></li>
  2465. <li><a href="FXGraphics2D.html" target="_top">No&nbsp;Frames</a></li>
  2466. </ul>
  2467. <ul class="navList" id="allclasses_navbar_bottom">
  2468. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  2469. </ul>
  2470. <div>
  2471. <script type="text/javascript"><!--
  2472. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  2473. if(window==top) {
  2474. allClassesLink.style.display = "block";
  2475. }
  2476. else {
  2477. allClassesLink.style.display = "none";
  2478. }
  2479. //-->
  2480. </script>
  2481. </div>
  2482. <div>
  2483. <ul class="subNavList">
  2484. <li>Summary:&nbsp;</li>
  2485. <li>Nested&nbsp;|&nbsp;</li>
  2486. <li>Field&nbsp;|&nbsp;</li>
  2487. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  2488. <li><a href="#method.summary">Method</a></li>
  2489. </ul>
  2490. <ul class="subNavList">
  2491. <li>Detail:&nbsp;</li>
  2492. <li>Field&nbsp;|&nbsp;</li>
  2493. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  2494. <li><a href="#method.detail">Method</a></li>
  2495. </ul>
  2496. </div>
  2497. <a name="skip.navbar.bottom">
  2498. <!-- -->
  2499. </a></div>
  2500. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  2501. </body>
  2502. </html>