12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="en">
- <head>
- <!-- Generated by javadoc (1.8.0_05) on Thu Jul 31 14:50:31 CEST 2014 -->
- <title>FXGraphics2D (JFreeChart Class Library (version 1.0.19-fx))</title>
- <meta name="date" content="2014-07-31">
- <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
- <script type="text/javascript" src="../../../../script.js"></script>
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="FXGraphics2D (JFreeChart Class Library (version 1.0.19-fx))";
- }
- }
- catch(err) {
- }
- //-->
- 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};
- var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a name="navbar.top">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.top.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/FXGraphics2D.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../../index-files/index-1.html">Index</a></li>
- <li><a href="../../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../../../org/jfree/chart/fx/ChartViewerSkin.html" title="class in org.jfree.chart.fx"><span class="typeNameLink">Prev Class</span></a></li>
- <li>Next Class</li>
- </ul>
- <ul class="navList">
- <li><a href="../../../../index.html?org/jfree/chart/fx/FXGraphics2D.html" target="_top">Frames</a></li>
- <li><a href="FXGraphics2D.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">org.jfree.chart.fx</div>
- <h2 title="Class FXGraphics2D" class="title">Class FXGraphics2D</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li>java.lang.Object</li>
- <li>
- <ul class="inheritance">
- <li>java.awt.Graphics</li>
- <li>
- <ul class="inheritance">
- <li>java.awt.Graphics2D</li>
- <li>
- <ul class="inheritance">
- <li>org.jfree.chart.fx.FXGraphics2D</li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <hr>
- <br>
- <pre>public class <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.108">FXGraphics2D</a>
- extends java.awt.Graphics2D</pre>
- <div class="block">A <code>Graphics2D</code> implementation that writes to a JavaFX <code>Canvas</code>.
- This class is copied directly from the FXGraphics2D project, we keep a local
- copy to avoid having a dependency to manage.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>1.0.18</dd>
- </dl>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colOne" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <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 gc)</code>
- <div class="block">Creates a new instance that will render to the specified JavaFX
- <code>GraphicsContext</code>.</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr id="i0" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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<?,?> hints)</code>
- <div class="block">Adds all the supplied rendering hints.</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#clearRect-int-int-int-int-">clearRect</a></span>(int x,
- int y,
- int width,
- int height)</code>
- <div class="block">Clears the specified rectangle by filling it with the current
- background color.</div>
- </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 s)</code>
- <div class="block">Clips to the intersection of the current clipping region and the
- specified shape.</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#clipRect-int-int-int-int-">clipRect</a></span>(int x,
- int y,
- int width,
- int height)</code>
- <div class="block">Clips to the intersection of the current clipping region and the
- specified rectangle.</div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 x,
- int y,
- int width,
- int height,
- int dx,
- int dy)</code>
- <div class="block">Not yet implemented.</div>
- </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code>java.awt.Graphics</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#create--">create</a></span>()</code>
- <div class="block">Creates a new graphics object that is a copy of this graphics object.</div>
- </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code>java.awt.geom.GeneralPath</code></td>
- <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[] xPoints,
- int[] yPoints,
- int nPoints,
- boolean close)</code>
- <div class="block">Creates a polygon from the specified <code>x</code> and
- <code>y</code> coordinate arrays.</div>
- </td>
- </tr>
- <tr id="i7" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#dispose--">dispose</a></span>()</code>
- <div class="block">This method does nothing.</div>
- </td>
- </tr>
- <tr id="i8" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 s)</code>
- <div class="block">Draws the specified shape with the current <code>paint</code> and
- <code>stroke</code>.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 x,
- int y,
- int width,
- int height,
- int startAngle,
- int arcAngle)</code>
- <div class="block">Draws an arc contained within the rectangle
- <code>(x, y, width, height)</code>, starting at <code>startAngle</code>
- and continuing through <code>arcAngle</code> degrees using
- the current <code>paint</code> and <code>stroke</code>.</div>
- </td>
- </tr>
- <tr id="i10" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 g,
- float x,
- float y)</code>
- <div class="block">Draws the specified glyph vector at the location <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i11" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 img,
- java.awt.image.BufferedImageOp op,
- int x,
- int y)</code>
- <div class="block">Draws the image resulting from applying the <code>BufferedImageOp</code>
- to the specified image at the location <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i12" class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <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 img,
- java.awt.geom.AffineTransform xform,
- java.awt.image.ImageObserver obs)</code>
- <div class="block">Draws an image with the specified transform.</div>
- </td>
- </tr>
- <tr id="i13" class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <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 img,
- int x,
- int y,
- java.awt.Color bgcolor,
- java.awt.image.ImageObserver observer)</code>
- <div class="block">Draws an image at the location <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i14" class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <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 img,
- int x,
- int y,
- java.awt.image.ImageObserver observer)</code>
- <div class="block">Draws an image at the location <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i15" class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <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 img,
- int x,
- int y,
- int w,
- int h,
- java.awt.Color bgcolor,
- java.awt.image.ImageObserver observer)</code>
- <div class="block">Draws an image to the rectangle <code>(x, y, w, h)</code> (scaling it if
- required), first filling the background with the specified color.</div>
- </td>
- </tr>
- <tr id="i16" class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <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 img,
- int x,
- int y,
- int width,
- int height,
- java.awt.image.ImageObserver observer)</code>
- <div class="block">Draws an image at the location <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i17" class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <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 img,
- int dx1,
- int dy1,
- int dx2,
- int dy2,
- int sx1,
- int sy1,
- int sx2,
- int sy2,
- java.awt.Color bgcolor,
- java.awt.image.ImageObserver observer)</code>
- <div class="block">Draws part of an image (defined by the source rectangle
- <code>(sx1, sy1, sx2, sy2)</code>) into the destination rectangle
- <code>(dx1, dy1, dx2, dy2)</code>.</div>
- </td>
- </tr>
- <tr id="i18" class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <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 img,
- int dx1,
- int dy1,
- int dx2,
- int dy2,
- int sx1,
- int sy1,
- int sx2,
- int sy2,
- java.awt.image.ImageObserver observer)</code>
- <div class="block">Draws part of an image (defined by the source rectangle
- <code>(sx1, sy1, sx2, sy2)</code>) into the destination rectangle
- <code>(dx1, dy1, dx2, dy2)</code>.</div>
- </td>
- </tr>
- <tr id="i19" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawLine-int-int-int-int-">drawLine</a></span>(int x1,
- int y1,
- int x2,
- int y2)</code>
- <div class="block">Draws a line from <code>(x1, y1)</code> to <code>(x2, y2)</code> using
- the current <code>paint</code> and <code>stroke</code>.</div>
- </td>
- </tr>
- <tr id="i20" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawOval-int-int-int-int-">drawOval</a></span>(int x,
- int y,
- int width,
- int height)</code>
- <div class="block">Draws an oval framed by the rectangle <code>(x, y, width, height)</code>
- using the current <code>paint</code> and <code>stroke</code>.</div>
- </td>
- </tr>
- <tr id="i21" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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[] xPoints,
- int[] yPoints,
- int nPoints)</code>
- <div class="block">Draws the specified polygon using the current <code>paint</code> and
- <code>stroke</code>.</div>
- </td>
- </tr>
- <tr id="i22" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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[] xPoints,
- int[] yPoints,
- int nPoints)</code>
- <div class="block">Draws the specified multi-segment line using the current
- <code>paint</code> and <code>stroke</code>.</div>
- </td>
- </tr>
- <tr id="i23" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 img,
- java.awt.geom.AffineTransform xform)</code>
- <div class="block">Draws the renderable image.</div>
- </td>
- </tr>
- <tr id="i24" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 img,
- java.awt.geom.AffineTransform xform)</code> </td>
- </tr>
- <tr id="i25" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 x,
- int y,
- int width,
- int height,
- int arcWidth,
- int arcHeight)</code>
- <div class="block">Draws a rectangle with rounded corners using the current
- <code>paint</code> and <code>stroke</code>.</div>
- </td>
- </tr>
- <tr id="i26" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 iterator,
- float x,
- float y)</code>
- <div class="block">Draws a string of attributed characters at <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i27" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 iterator,
- int x,
- int y)</code>
- <div class="block">Draws a string of attributed characters at <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i28" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 str,
- float x,
- float y)</code>
- <div class="block">Draws a string at <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i29" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 str,
- int x,
- int y)</code>
- <div class="block">Draws a string at <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i30" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 s)</code>
- <div class="block">Fills the specified shape with the current <code>paint</code>.</div>
- </td>
- </tr>
- <tr id="i31" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 x,
- int y,
- int width,
- int height,
- int startAngle,
- int arcAngle)</code>
- <div class="block">Fills an arc contained within the rectangle
- <code>(x, y, width, height)</code>, starting at <code>startAngle</code>
- and continuing through <code>arcAngle</code> degrees, using
- the current <code>paint</code>.</div>
- </td>
- </tr>
- <tr id="i32" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillOval-int-int-int-int-">fillOval</a></span>(int x,
- int y,
- int width,
- int height)</code>
- <div class="block">Fills an oval framed by the rectangle <code>(x, y, width, height)</code>.</div>
- </td>
- </tr>
- <tr id="i33" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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[] xPoints,
- int[] yPoints,
- int nPoints)</code>
- <div class="block">Fills the specified polygon using the current <code>paint</code>.</div>
- </td>
- </tr>
- <tr id="i34" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillRect-int-int-int-int-">fillRect</a></span>(int x,
- int y,
- int width,
- int height)</code>
- <div class="block">Fills the specified rectangle with the current <code>paint</code>.</div>
- </td>
- </tr>
- <tr id="i35" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 x,
- int y,
- int width,
- int height,
- int arcWidth,
- int arcHeight)</code>
- <div class="block">Fills a rectangle with rounded corners using the current <code>paint</code>.</div>
- </td>
- </tr>
- <tr id="i36" class="altColor">
- <td class="colFirst"><code>java.awt.Color</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getBackground--">getBackground</a></span>()</code>
- <div class="block">Returns the background color (the default value is <code>Color.BLACK</code>).</div>
- </td>
- </tr>
- <tr id="i37" class="rowColor">
- <td class="colFirst"><code>java.awt.Shape</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClip--">getClip</a></span>()</code>
- <div class="block">Returns the user clipping region.</div>
- </td>
- </tr>
- <tr id="i38" class="altColor">
- <td class="colFirst"><code>java.awt.Rectangle</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClipBounds--">getClipBounds</a></span>()</code>
- <div class="block">Returns the bounds of the user clipping region.</div>
- </td>
- </tr>
- <tr id="i39" class="rowColor">
- <td class="colFirst"><code>java.awt.Color</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getColor--">getColor</a></span>()</code>
- <div class="block">Returns the foreground color.</div>
- </td>
- </tr>
- <tr id="i40" class="altColor">
- <td class="colFirst"><code>java.awt.Composite</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getComposite--">getComposite</a></span>()</code>
- <div class="block">Returns the current composite.</div>
- </td>
- </tr>
- <tr id="i41" class="rowColor">
- <td class="colFirst"><code>java.awt.GraphicsConfiguration</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getDeviceConfiguration--">getDeviceConfiguration</a></span>()</code>
- <div class="block">This method is not implemented yet.</div>
- </td>
- </tr>
- <tr id="i42" class="altColor">
- <td class="colFirst"><code>java.awt.Font</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getFont--">getFont</a></span>()</code>
- <div class="block">Returns the current font used for drawing text.</div>
- </td>
- </tr>
- <tr id="i43" class="rowColor">
- <td class="colFirst"><code>java.awt.FontMetrics</code></td>
- <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 f)</code>
- <div class="block">Returns the font metrics for the specified font.</div>
- </td>
- </tr>
- <tr id="i44" class="altColor">
- <td class="colFirst"><code>java.awt.font.FontRenderContext</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getFontRenderContext--">getFontRenderContext</a></span>()</code>
- <div class="block">Returns the font render context.</div>
- </td>
- </tr>
- <tr id="i45" class="rowColor">
- <td class="colFirst"><code>java.awt.Paint</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getPaint--">getPaint</a></span>()</code>
- <div class="block">Returns the paint used to draw or fill shapes (or text).</div>
- </td>
- </tr>
- <tr id="i46" class="altColor">
- <td class="colFirst"><code>java.lang.Object</code></td>
- <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 hintKey)</code>
- <div class="block">Returns the current value for the specified hint.</div>
- </td>
- </tr>
- <tr id="i47" class="rowColor">
- <td class="colFirst"><code>java.awt.RenderingHints</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getRenderingHints--">getRenderingHints</a></span>()</code>
- <div class="block">Returns a copy of the rendering hints.</div>
- </td>
- </tr>
- <tr id="i48" class="altColor">
- <td class="colFirst"><code>java.awt.Stroke</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getStroke--">getStroke</a></span>()</code>
- <div class="block">Returns the current stroke (this attribute is used when drawing shapes).</div>
- </td>
- </tr>
- <tr id="i49" class="rowColor">
- <td class="colFirst"><code>java.awt.geom.AffineTransform</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getTransform--">getTransform</a></span>()</code>
- <div class="block">Returns a copy of the current transform.</div>
- </td>
- </tr>
- <tr id="i50" class="altColor">
- <td class="colFirst"><code>double</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getZeroStrokeWidth--">getZeroStrokeWidth</a></span>()</code>
- <div class="block">Returns the width to use for the stroke when the AWT stroke
- specified has a zero width (the default value is <code>0.5</code>).</div>
- </td>
- </tr>
- <tr id="i51" class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <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 rect,
- java.awt.Shape s,
- boolean onStroke)</code>
- <div class="block">Returns <code>true</code> if the rectangle (in device space) intersects
- with the shape (the interior, if <code>onStroke</code> is false,
- otherwise the stroked outline of the shape).</div>
- </td>
- </tr>
- <tr id="i52" class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#isClippingDisabled--">isClippingDisabled</a></span>()</code>
- <div class="block">Returns the flag that controls whether or not clipping is actually
- applied to the JavaFX canvas.</div>
- </td>
- </tr>
- <tr id="i53" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#rotate-double-">rotate</a></span>(double theta)</code>
- <div class="block">Applies a rotation (anti-clockwise) about <code>(0, 0)</code>.</div>
- </td>
- </tr>
- <tr id="i54" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#rotate-double-double-double-">rotate</a></span>(double theta,
- double x,
- double y)</code>
- <div class="block">Applies a rotation (anti-clockwise) about <code>(x, y)</code>.</div>
- </td>
- </tr>
- <tr id="i55" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#scale-double-double-">scale</a></span>(double sx,
- double sy)</code>
- <div class="block">Applies a scale transformation.</div>
- </td>
- </tr>
- <tr id="i56" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 color)</code>
- <div class="block">Sets the background color.</div>
- </td>
- </tr>
- <tr id="i57" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setClip-int-int-int-int-">setClip</a></span>(int x,
- int y,
- int width,
- int height)</code>
- <div class="block">Sets the user clipping region to the specified rectangle.</div>
- </td>
- </tr>
- <tr id="i58" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 shape)</code>
- <div class="block">Sets the user clipping region.</div>
- </td>
- </tr>
- <tr id="i59" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setClippingDisabled-boolean-">setClippingDisabled</a></span>(boolean disabled)</code>
- <div class="block">Sets the flag that controls whether or not clipping is disabled.</div>
- </td>
- </tr>
- <tr id="i60" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 c)</code>
- <div class="block">Sets the foreground color.</div>
- </td>
- </tr>
- <tr id="i61" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 comp)</code>
- <div class="block">Sets the composite (only <code>AlphaComposite</code> is handled).</div>
- </td>
- </tr>
- <tr id="i62" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 font)</code>
- <div class="block">Sets the font to be used for drawing text.</div>
- </td>
- </tr>
- <tr id="i63" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 paint)</code>
- <div class="block">Sets the paint used to draw or fill shapes (or text).</div>
- </td>
- </tr>
- <tr id="i64" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setPaintMode--">setPaintMode</a></span>()</code>
- <div class="block">Not implemented - the method does nothing.</div>
- </td>
- </tr>
- <tr id="i65" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 hintKey,
- java.lang.Object hintValue)</code>
- <div class="block">Sets the value for a hint.</div>
- </td>
- </tr>
- <tr id="i66" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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<?,?> hints)</code>
- <div class="block">Sets the rendering hints to the specified collection.</div>
- </td>
- </tr>
- <tr id="i67" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 s)</code>
- <div class="block">Sets the stroke that will be used to draw shapes.</div>
- </td>
- </tr>
- <tr id="i68" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 t)</code>
- <div class="block">Sets the transform.</div>
- </td>
- </tr>
- <tr id="i69" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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 c1)</code>
- <div class="block">Not implemented - the method does nothing.</div>
- </td>
- </tr>
- <tr id="i70" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setZeroStrokeWidth-double-">setZeroStrokeWidth</a></span>(double width)</code>
- <div class="block">Sets the width to use for the stroke when the current AWT stroke
- has a width of <code>0.0</code>.</div>
- </td>
- </tr>
- <tr id="i71" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#shear-double-double-">shear</a></span>(double shx,
- double shy)</code>
- <div class="block">Applies a shear transformation.</div>
- </td>
- </tr>
- <tr id="i72" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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 t)</code>
- <div class="block">Applies this transform to the existing transform by concatenating it.</div>
- </td>
- </tr>
- <tr id="i73" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#translate-double-double-">translate</a></span>(double tx,
- double ty)</code>
- <div class="block">Applies the translation <code>(tx, ty)</code>.</div>
- </td>
- </tr>
- <tr id="i74" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#translate-int-int-">translate</a></span>(int tx,
- int ty)</code>
- <div class="block">Applies the translation <code>(tx, ty)</code>.</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.awt.Graphics2D">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.awt.Graphics2D</h3>
- <code>draw3DRect, fill3DRect</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.awt.Graphics">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.awt.Graphics</h3>
- <code>create, drawBytes, drawChars, drawPolygon, drawRect, fillPolygon, finalize, getClipBounds, getClipRect, getFontMetrics, hitClip, toString</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.lang.Object</h3>
- <code>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="FXGraphics2D-javafx.scene.canvas.GraphicsContext-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>FXGraphics2D</h4>
- <pre>public <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.201">FXGraphics2D</a>(javafx.scene.canvas.GraphicsContext gc)</pre>
- <div class="block">Creates a new instance that will render to the specified JavaFX
- <code>GraphicsContext</code>.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>gc</code> - the graphics context (<code>null</code> not permitted).</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="getZeroStrokeWidth--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getZeroStrokeWidth</h4>
- <pre>public double <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.221">getZeroStrokeWidth</a>()</pre>
- <div class="block">Returns the width to use for the stroke when the AWT stroke
- specified has a zero width (the default value is <code>0.5</code>).
- <p>In the Java specification for <code>BasicStroke</code> it states "If width
- is set to 0.0f, the stroke is rendered as the thinnest possible
- line for the target device and the antialias hint setting." We don't
- have a means to implement that accurately since we must specify a fixed
- width to the JavaFX canvas - this attribute is the width that is
- used.</p></div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The width.</dd>
- </dl>
- </li>
- </ul>
- <a name="setZeroStrokeWidth-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setZeroStrokeWidth</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.231">setZeroStrokeWidth</a>(double width)</pre>
- <div class="block">Sets the width to use for the stroke when the current AWT stroke
- has a width of <code>0.0</code>.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>width</code> - the new width (must be 0 or greater).</dd>
- </dl>
- </li>
- </ul>
- <a name="isClippingDisabled--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isClippingDisabled</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.251">isClippingDisabled</a>()</pre>
- <div class="block">Returns the flag that controls whether or not clipping is actually
- applied to the JavaFX canvas. The default value is currently
- <code>false</code> (the clipping is ENABLED) but since it does not always
- work correctly you have the option to disable it. See
- <a href="https://javafx-jira.kenai.com/browse/RT-36891">
- https://javafx-jira.kenai.com/browse/RT-36891</a> for details (requires
- an account).</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A boolean.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setClippingDisabled-boolean-"><code>setClippingDisabled(boolean)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setClippingDisabled-boolean-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setClippingDisabled</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.262">setClippingDisabled</a>(boolean disabled)</pre>
- <div class="block">Sets the flag that controls whether or not clipping is disabled.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>disabled</code> - the new flag value.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#isClippingDisabled--"><code>isClippingDisabled()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getDeviceConfiguration--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getDeviceConfiguration</h4>
- <pre>public java.awt.GraphicsConfiguration <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.271">getDeviceConfiguration</a>()</pre>
- <div class="block">This method is not implemented yet.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getDeviceConfiguration</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd><code>null</code>.</dd>
- </dl>
- </li>
- </ul>
- <a name="create--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>create</h4>
- <pre>public java.awt.Graphics <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.282">create</a>()</pre>
- <div class="block">Creates a new graphics object that is a copy of this graphics object.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>create</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A new graphics object.</dd>
- </dl>
- </li>
- </ul>
- <a name="getPaint--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getPaint</h4>
- <pre>public java.awt.Paint <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.305">getPaint</a>()</pre>
- <div class="block">Returns the paint used to draw or fill shapes (or text). The default
- value is <code>Color.BLACK</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getPaint</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The paint (never <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setPaint-java.awt.Paint-"><code>setPaint(java.awt.Paint)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setPaint-java.awt.Paint-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setPaint</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.326">setPaint</a>(java.awt.Paint paint)</pre>
- <div class="block">Sets the paint used to draw or fill shapes (or text). If
- <code>paint</code> is an instance of <code>Color</code>, this method will
- also update the current color attribute (see <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getColor--"><code>getColor()</code></a>). If
- you pass <code>null</code> to this method, it does nothing (in
- accordance with the JDK specification).
- <br><br>
- Note that this implementation will map <code>Color</code>,
- <code>GradientPaint</code>, <code>LinearGradientPaint</code> and
- <code>RadialGradientPaint</code>, other paint implementations are not
- handled.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setPaint</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>paint</code> - the paint (<code>null</code> is permitted but ignored).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getPaint--"><code>getPaint()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getColor--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getColor</h4>
- <pre>public java.awt.Color <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.394">getColor</a>()</pre>
- <div class="block">Returns the foreground color. This method exists for backwards
- compatibility in AWT, you should use the <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getPaint--"><code>getPaint()</code></a> method.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getColor</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The foreground color (never <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getPaint--"><code>getPaint()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setColor-java.awt.Color-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setColor</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.408">setColor</a>(java.awt.Color c)</pre>
- <div class="block">Sets the foreground color. This method exists for backwards
- compatibility in AWT, you should use the
- <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setPaint-java.awt.Paint-"><code>setPaint(java.awt.Paint)</code></a> method.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setColor</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>c</code> - the color (<code>null</code> permitted but ignored).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setPaint-java.awt.Paint-"><code>setPaint(java.awt.Paint)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getBackground--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getBackground</h4>
- <pre>public java.awt.Color <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.441">getBackground</a>()</pre>
- <div class="block">Returns the background color (the default value is <code>Color.BLACK</code>).
- 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>
- method.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getBackground</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The background color (possibly <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setBackground-java.awt.Color-"><code>setBackground(java.awt.Color)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setBackground-java.awt.Color-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setBackground</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.457">setBackground</a>(java.awt.Color color)</pre>
- <div class="block">Sets the background color. 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> method. The reference
- implementation allows <code>null</code> for the background color so
- 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>
- method will do nothing).</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setBackground</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>color</code> - the color (<code>null</code> permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getBackground--"><code>getBackground()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getComposite--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getComposite</h4>
- <pre>public java.awt.Composite <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.469">getComposite</a>()</pre>
- <div class="block">Returns the current composite.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getComposite</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The current composite (never <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setComposite-java.awt.Composite-"><code>setComposite(java.awt.Composite)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setComposite-java.awt.Composite-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setComposite</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.481">setComposite</a>(java.awt.Composite comp)</pre>
- <div class="block">Sets the composite (only <code>AlphaComposite</code> is handled).</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setComposite</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>comp</code> - the composite (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getComposite--"><code>getComposite()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getStroke--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getStroke</h4>
- <pre>public java.awt.Stroke <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.494">getStroke</a>()</pre>
- <div class="block">Returns the current stroke (this attribute is used when drawing shapes).</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getStroke</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The current stroke (never <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setStroke-java.awt.Stroke-"><code>setStroke(java.awt.Stroke)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setStroke-java.awt.Stroke-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setStroke</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.506">setStroke</a>(java.awt.Stroke s)</pre>
- <div class="block">Sets the stroke that will be used to draw shapes.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setStroke</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>s</code> - the stroke (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getStroke--"><code>getStroke()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getRenderingHint-java.awt.RenderingHints.Key-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getRenderingHint</h4>
- <pre>public java.lang.Object <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.575">getRenderingHint</a>(java.awt.RenderingHints.Key hintKey)</pre>
- <div class="block">Returns the current value for the specified hint. Note that all hints
- are currently ignored in this implementation.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getRenderingHint</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>hintKey</code> - the hint key (<code>null</code> permitted, but the
- result will be <code>null</code> also in that case).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The current value for the specified hint
- (possibly <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <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>
- </dl>
- </li>
- </ul>
- <a name="setRenderingHint-java.awt.RenderingHints.Key-java.lang.Object-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setRenderingHint</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.589">setRenderingHint</a>(java.awt.RenderingHints.Key hintKey,
- java.lang.Object hintValue)</pre>
- <div class="block">Sets the value for a hint. Note that all hints are currently
- ignored in this implementation.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setRenderingHint</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>hintKey</code> - the hint key (<code>null</code> not permitted).</dd>
- <dd><code>hintValue</code> - the hint value.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getRenderingHint-java.awt.RenderingHints.Key-"><code>getRenderingHint(java.awt.RenderingHints.Key)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getRenderingHints--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getRenderingHints</h4>
- <pre>public java.awt.RenderingHints <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.603">getRenderingHints</a>()</pre>
- <div class="block">Returns a copy of the rendering hints. Modifying the returned copy
- will have no impact on the state of this <code>Graphics2D</code>
- instance.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getRenderingHints</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The rendering hints (never <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setRenderingHints-java.util.Map-"><code>setRenderingHints(java.util.Map)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setRenderingHints-java.util.Map-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setRenderingHints</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.615">setRenderingHints</a>(java.util.Map<?,?> hints)</pre>
- <div class="block">Sets the rendering hints to the specified collection.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setRenderingHints</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>hints</code> - the new set of hints (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getRenderingHints--"><code>getRenderingHints()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="addRenderingHints-java.util.Map-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addRenderingHints</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.626">addRenderingHints</a>(java.util.Map<?,?> hints)</pre>
- <div class="block">Adds all the supplied rendering hints.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>addRenderingHints</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>hints</code> - the hints (<code>null</code> not permitted).</dd>
- </dl>
- </li>
- </ul>
- <a name="draw-java.awt.Shape-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>draw</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.642">draw</a>(java.awt.Shape s)</pre>
- <div class="block">Draws the specified shape with the current <code>paint</code> and
- <code>stroke</code>. There is direct handling for <code>Line2D</code>,
- <code>Rectangle2D</code>, <code>Ellipse2D</code>, <code>Arc2D</code> and
- <code>Path2D</code>. All other shapes are mapped to a path outline and then
- drawn.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>draw</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>s</code> - the shape (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fill-java.awt.Shape-"><code>fill(java.awt.Shape)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="fill-java.awt.Shape-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>fill</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.754">fill</a>(java.awt.Shape s)</pre>
- <div class="block">Fills the specified shape with the current <code>paint</code>. There is
- direct handling for <code>RoundRectangle2D</code>,
- <code>Rectangle2D</code>, <code>Ellipse2D</code> and <code>Arc2D</code>.
- All other shapes are mapped to a path outline and then filled.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>fill</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>s</code> - the shape (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#draw-java.awt.Shape-"><code>draw(java.awt.Shape)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getFont--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFont</h4>
- <pre>public java.awt.Font <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.784">getFont</a>()</pre>
- <div class="block">Returns the current font used for drawing text.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getFont</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The current font (never <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setFont-java.awt.Font-"><code>setFont(java.awt.Font)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setFont-java.awt.Font-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setFont</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.796">setFont</a>(java.awt.Font font)</pre>
- <div class="block">Sets the font to be used for drawing text.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setFont</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>font</code> - the font (<code>null</code> is permitted but ignored).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getFont--"><code>getFont()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getFontMetrics-java.awt.Font-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFontMetrics</h4>
- <pre>public java.awt.FontMetrics <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.816">getFontMetrics</a>(java.awt.Font f)</pre>
- <div class="block">Returns the font metrics for the specified font.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getFontMetrics</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>f</code> - the font.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The font metrics.</dd>
- </dl>
- </li>
- </ul>
- <a name="getFontRenderContext--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFontRenderContext</h4>
- <pre>public java.awt.font.FontRenderContext <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.828">getFontRenderContext</a>()</pre>
- <div class="block">Returns the font render context. The implementation here returns the
- <code>FontRenderContext</code> for an image that is maintained
- internally (as for <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getFontMetrics-java.awt.Font-"><code>getFontMetrics(java.awt.Font)</code></a>).</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getFontRenderContext</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The font render context.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawString-java.lang.String-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawString</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.843">drawString</a>(java.lang.String str,
- int x,
- int y)</pre>
- <div class="block">Draws a string at <code>(x, y)</code>. The start of the text at the
- baseline level will be aligned with the <code>(x, y)</code> point.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawString</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>str</code> - the string (<code>null</code> not permitted).</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <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>
- </dl>
- </li>
- </ul>
- <a name="drawString-java.lang.String-float-float-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawString</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.856">drawString</a>(java.lang.String str,
- float x,
- float y)</pre>
- <div class="block">Draws a string at <code>(x, y)</code>. The start of the text at the
- baseline level will be aligned with the <code>(x, y)</code> point.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawString</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>str</code> - the string (<code>null</code> not permitted).</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawString-java.text.AttributedCharacterIterator-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawString</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.873">drawString</a>(java.text.AttributedCharacterIterator iterator,
- int x,
- int y)</pre>
- <div class="block">Draws a string of attributed characters at <code>(x, y)</code>. The
- call is delegated to
- <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawString-java.text.AttributedCharacterIterator-float-float-"><code>drawString(AttributedCharacterIterator, float, float)</code></a>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawString</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>iterator</code> - an iterator for the characters.</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the x-coordinate.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawString-java.text.AttributedCharacterIterator-float-float-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawString</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.886">drawString</a>(java.text.AttributedCharacterIterator iterator,
- float x,
- float y)</pre>
- <div class="block">Draws a string of attributed characters at <code>(x, y)</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawString</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>iterator</code> - an iterator over the characters (<code>null</code> not
- permitted).</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawGlyphVector-java.awt.font.GlyphVector-float-float-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawGlyphVector</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.914">drawGlyphVector</a>(java.awt.font.GlyphVector g,
- float x,
- float y)</pre>
- <div class="block">Draws the specified glyph vector at the location <code>(x, y)</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawGlyphVector</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>g</code> - the glyph vector (<code>null</code> not permitted).</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- </dl>
- </li>
- </ul>
- <a name="translate-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>translate</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.928">translate</a>(int tx,
- int ty)</pre>
- <div class="block">Applies the translation <code>(tx, ty)</code>. This call is delegated
- to <a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#translate-double-double-"><code>translate(double, double)</code></a>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>translate</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>tx</code> - the x-translation.</dd>
- <dd><code>ty</code> - the y-translation.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#translate-double-double-"><code>translate(double, double)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="translate-double-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>translate</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.939">translate</a>(double tx,
- double ty)</pre>
- <div class="block">Applies the translation <code>(tx, ty)</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>translate</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>tx</code> - the x-translation.</dd>
- <dd><code>ty</code> - the y-translation.</dd>
- </dl>
- </li>
- </ul>
- <a name="rotate-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>rotate</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.950">rotate</a>(double theta)</pre>
- <div class="block">Applies a rotation (anti-clockwise) about <code>(0, 0)</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>rotate</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>theta</code> - the rotation angle (in radians).</dd>
- </dl>
- </li>
- </ul>
- <a name="rotate-double-double-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>rotate</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.963">rotate</a>(double theta,
- double x,
- double y)</pre>
- <div class="block">Applies a rotation (anti-clockwise) about <code>(x, y)</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>rotate</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>theta</code> - the rotation angle (in radians).</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- </dl>
- </li>
- </ul>
- <a name="scale-double-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>scale</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.976">scale</a>(double sx,
- double sy)</pre>
- <div class="block">Applies a scale transformation.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>scale</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>sx</code> - the x-scaling factor.</dd>
- <dd><code>sy</code> - the y-scaling factor.</dd>
- </dl>
- </li>
- </ul>
- <a name="shear-double-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>shear</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.993">shear</a>(double shx,
- double shy)</pre>
- <div class="block">Applies a shear transformation. This is equivalent to the following
- call to the <code>transform</code> method:
- <br><br>
- <ul><li>
- <code>transform(AffineTransform.getShearInstance(shx, shy));</code>
- </ul></div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>shear</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>shx</code> - the x-shear factor.</dd>
- <dd><code>shy</code> - the y-shear factor.</dd>
- </dl>
- </li>
- </ul>
- <a name="transform-java.awt.geom.AffineTransform-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>transform</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1003">transform</a>(java.awt.geom.AffineTransform t)</pre>
- <div class="block">Applies this transform to the existing transform by concatenating it.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>transform</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>t</code> - the transform (<code>null</code> not permitted).</dd>
- </dl>
- </li>
- </ul>
- <a name="getTransform--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getTransform</h4>
- <pre>public java.awt.geom.AffineTransform <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1017">getTransform</a>()</pre>
- <div class="block">Returns a copy of the current transform.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getTransform</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A copy of the current transform (never <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setTransform-java.awt.geom.AffineTransform-"><code>setTransform(java.awt.geom.AffineTransform)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setTransform-java.awt.geom.AffineTransform-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setTransform</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1030">setTransform</a>(java.awt.geom.AffineTransform t)</pre>
- <div class="block">Sets the transform.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setTransform</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>t</code> - the new transform (<code>null</code> permitted, resets to the
- identity transform).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getTransform--"><code>getTransform()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="hit-java.awt.Rectangle-java.awt.Shape-boolean-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>hit</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1053">hit</a>(java.awt.Rectangle rect,
- java.awt.Shape s,
- boolean onStroke)</pre>
- <div class="block">Returns <code>true</code> if the rectangle (in device space) intersects
- with the shape (the interior, if <code>onStroke</code> is false,
- otherwise the stroked outline of the shape).</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>hit</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>rect</code> - a rectangle (in device space).</dd>
- <dd><code>s</code> - the shape.</dd>
- <dd><code>onStroke</code> - test the stroked outline only?</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A boolean.</dd>
- </dl>
- </li>
- </ul>
- <a name="setPaintMode--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setPaintMode</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1074">setPaintMode</a>()</pre>
- <div class="block">Not implemented - the method does nothing.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setPaintMode</code> in class <code>java.awt.Graphics</code></dd>
- </dl>
- </li>
- </ul>
- <a name="setXORMode-java.awt.Color-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setXORMode</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1082">setXORMode</a>(java.awt.Color c1)</pre>
- <div class="block">Not implemented - the method does nothing.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setXORMode</code> in class <code>java.awt.Graphics</code></dd>
- </dl>
- </li>
- </ul>
- <a name="getClipBounds--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getClipBounds</h4>
- <pre>public java.awt.Rectangle <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1094">getClipBounds</a>()</pre>
- <div class="block">Returns the bounds of the user clipping region.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getClipBounds</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The clip bounds (possibly <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClip--"><code>getClip()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getClip--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getClip</h4>
- <pre>public java.awt.Shape <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1110">getClip</a>()</pre>
- <div class="block">Returns the user clipping region. The initial default value is
- <code>null</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>getClip</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The user clipping region (possibly <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#setClip-java.awt.Shape-"><code>setClip(java.awt.Shape)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setClip-java.awt.Shape-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setClip</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1131">setClip</a>(java.awt.Shape shape)</pre>
- <div class="block">Sets the user clipping region.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setClip</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>shape</code> - the new user clipping region (<code>null</code> permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClip--"><code>getClip()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="clip-java.awt.Shape-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>clip</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1175">clip</a>(java.awt.Shape s)</pre>
- <div class="block">Clips to the intersection of the current clipping region and the
- specified shape.
-
- According to the Oracle API specification, this method will accept a
- <code>null</code> argument, but there is an open bug report (since 2004)
- that suggests this is wrong:
- <p>
- <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6206189">
- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6206189</a>
-
- In this implementation, a <code>null</code> argument is not permitted.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>clip</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>s</code> - the clip shape (<code>null</code> not permitted).</dd>
- </dl>
- </li>
- </ul>
- <a name="clipRect-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>clipRect</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1209">clipRect</a>(int x,
- int y,
- int width,
- int height)</pre>
- <div class="block">Clips to the intersection of the current clipping region and the
- specified rectangle.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>clipRect</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width.</dd>
- <dd><code>height</code> - the height.</dd>
- </dl>
- </li>
- </ul>
- <a name="setClip-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setClip</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1225">setClip</a>(int x,
- int y,
- int width,
- int height)</pre>
- <div class="block">Sets the user clipping region to the specified rectangle.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>setClip</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width.</dd>
- <dd><code>height</code> - the height.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getClip--"><code>getClip()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="drawLine-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawLine</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1240">drawLine</a>(int x1,
- int y1,
- int x2,
- int y2)</pre>
- <div class="block">Draws a line from <code>(x1, y1)</code> to <code>(x2, y2)</code> using
- the current <code>paint</code> and <code>stroke</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawLine</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x1</code> - the x-coordinate of the start point.</dd>
- <dd><code>y1</code> - the y-coordinate of the start point.</dd>
- <dd><code>x2</code> - the x-coordinate of the end point.</dd>
- <dd><code>y2</code> - the x-coordinate of the end point.</dd>
- </dl>
- </li>
- </ul>
- <a name="fillRect-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>fillRect</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1258">fillRect</a>(int x,
- int y,
- int width,
- int height)</pre>
- <div class="block">Fills the specified rectangle with the current <code>paint</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>fillRect</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the rectangle width.</dd>
- <dd><code>height</code> - the rectangle height.</dd>
- </dl>
- </li>
- </ul>
- <a name="clearRect-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>clearRect</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1276">clearRect</a>(int x,
- int y,
- int width,
- int height)</pre>
- <div class="block">Clears the specified rectangle by filling it with the current
- background color. If the background color is <code>null</code>, this
- method will do nothing.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>clearRect</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width.</dd>
- <dd><code>height</code> - the height.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#getBackground--"><code>getBackground()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="drawRoundRect-int-int-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawRoundRect</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1300">drawRoundRect</a>(int x,
- int y,
- int width,
- int height,
- int arcWidth,
- int arcHeight)</pre>
- <div class="block">Draws a rectangle with rounded corners using the current
- <code>paint</code> and <code>stroke</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawRoundRect</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width.</dd>
- <dd><code>height</code> - the height.</dd>
- <dd><code>arcWidth</code> - the arc-width.</dd>
- <dd><code>arcHeight</code> - the arc-height.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <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>
- </dl>
- </li>
- </ul>
- <a name="fillRoundRect-int-int-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>fillRoundRect</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1319">fillRoundRect</a>(int x,
- int y,
- int width,
- int height,
- int arcWidth,
- int arcHeight)</pre>
- <div class="block">Fills a rectangle with rounded corners using the current <code>paint</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>fillRoundRect</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width.</dd>
- <dd><code>height</code> - the height.</dd>
- <dd><code>arcWidth</code> - the arc-width.</dd>
- <dd><code>arcHeight</code> - the arc-height.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <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>
- </dl>
- </li>
- </ul>
- <a name="drawOval-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawOval</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1337">drawOval</a>(int x,
- int y,
- int width,
- int height)</pre>
- <div class="block">Draws an oval framed by the rectangle <code>(x, y, width, height)</code>
- using the current <code>paint</code> and <code>stroke</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawOval</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width.</dd>
- <dd><code>height</code> - the height.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillOval-int-int-int-int-"><code>fillOval(int, int, int, int)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="fillOval-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>fillOval</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1353">fillOval</a>(int x,
- int y,
- int width,
- int height)</pre>
- <div class="block">Fills an oval framed by the rectangle <code>(x, y, width, height)</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>fillOval</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width.</dd>
- <dd><code>height</code> - the height.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawOval-int-int-int-int-"><code>drawOval(int, int, int, int)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="drawArc-int-int-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawArc</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1374">drawArc</a>(int x,
- int y,
- int width,
- int height,
- int startAngle,
- int arcAngle)</pre>
- <div class="block">Draws an arc contained within the rectangle
- <code>(x, y, width, height)</code>, starting at <code>startAngle</code>
- and continuing through <code>arcAngle</code> degrees using
- the current <code>paint</code> and <code>stroke</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawArc</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width.</dd>
- <dd><code>height</code> - the height.</dd>
- <dd><code>startAngle</code> - the start angle in degrees, 0 = 3 o'clock.</dd>
- <dd><code>arcAngle</code> - the angle (anticlockwise) in degrees.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <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>
- </dl>
- </li>
- </ul>
- <a name="fillArc-int-int-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>fillArc</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1396">fillArc</a>(int x,
- int y,
- int width,
- int height,
- int startAngle,
- int arcAngle)</pre>
- <div class="block">Fills an arc contained within the rectangle
- <code>(x, y, width, height)</code>, starting at <code>startAngle</code>
- and continuing through <code>arcAngle</code> degrees, using
- the current <code>paint</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>fillArc</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width.</dd>
- <dd><code>height</code> - the height.</dd>
- <dd><code>startAngle</code> - the start angle in degrees, 0 = 3 o'clock.</dd>
- <dd><code>arcAngle</code> - the angle (anticlockwise) in degrees.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <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>
- </dl>
- </li>
- </ul>
- <a name="drawPolyline-int:A-int:A-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawPolyline</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1411">drawPolyline</a>(int[] xPoints,
- int[] yPoints,
- int nPoints)</pre>
- <div class="block">Draws the specified multi-segment line using the current
- <code>paint</code> and <code>stroke</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawPolyline</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>xPoints</code> - the x-points.</dd>
- <dd><code>yPoints</code> - the y-points.</dd>
- <dd><code>nPoints</code> - the number of points to use for the polyline.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawPolygon-int:A-int:A-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawPolygon</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1426">drawPolygon</a>(int[] xPoints,
- int[] yPoints,
- int nPoints)</pre>
- <div class="block">Draws the specified polygon using the current <code>paint</code> and
- <code>stroke</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawPolygon</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>xPoints</code> - the x-points.</dd>
- <dd><code>yPoints</code> - the y-points.</dd>
- <dd><code>nPoints</code> - the number of points to use for the polygon.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#fillPolygon-int:A-int:A-int-"><code>fillPolygon(int[], int[], int)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="fillPolygon-int:A-int:A-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>fillPolygon</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1441">fillPolygon</a>(int[] xPoints,
- int[] yPoints,
- int nPoints)</pre>
- <div class="block">Fills the specified polygon using the current <code>paint</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>fillPolygon</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>xPoints</code> - the x-points.</dd>
- <dd><code>yPoints</code> - the y-points.</dd>
- <dd><code>nPoints</code> - the number of points to use for the polygon.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/fx/FXGraphics2D.html#drawPolygon-int:A-int:A-int-"><code>drawPolygon(int[], int[], int)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="createPolygon-int:A-int:A-int-boolean-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>createPolygon</h4>
- <pre>public java.awt.geom.GeneralPath <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1457">createPolygon</a>(int[] xPoints,
- int[] yPoints,
- int nPoints,
- boolean close)</pre>
- <div class="block">Creates a polygon from the specified <code>x</code> and
- <code>y</code> coordinate arrays.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>xPoints</code> - the x-points.</dd>
- <dd><code>yPoints</code> - the y-points.</dd>
- <dd><code>nPoints</code> - the number of points to use for the polyline.</dd>
- <dd><code>close</code> - closed?</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A polygon.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawImage-java.awt.Image-int-int-java.awt.image.ImageObserver-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawImage</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1482">drawImage</a>(java.awt.Image img,
- int x,
- int y,
- java.awt.image.ImageObserver observer)</pre>
- <div class="block">Draws an image at the location <code>(x, y)</code>. Note that the
- <code>observer</code> is ignored.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawImage</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>img</code> - the image.</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>observer</code> - ignored.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd><code>true</code> if the image is drawn.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawImage-java.awt.Image-int-int-int-int-java.awt.image.ImageObserver-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawImage</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1508">drawImage</a>(java.awt.Image img,
- int x,
- int y,
- int width,
- int height,
- java.awt.image.ImageObserver observer)</pre>
- <div class="block">Draws an image at the location <code>(x, y)</code>. Note that the
- <code>observer</code> is ignored.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawImage</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>img</code> - the image.</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width of the target rectangle for the image.</dd>
- <dd><code>height</code> - the height of the target rectangle for the image.</dd>
- <dd><code>observer</code> - ignored.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd><code>true</code> if the image is drawn.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawImage-java.awt.Image-int-int-java.awt.Color-java.awt.image.ImageObserver-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawImage</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1533">drawImage</a>(java.awt.Image img,
- int x,
- int y,
- java.awt.Color bgcolor,
- java.awt.image.ImageObserver observer)</pre>
- <div class="block">Draws an image at the location <code>(x, y)</code>. Note that the
- <code>observer</code> is ignored.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawImage</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>img</code> - the image (<code>null</code> not permitted).</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>bgcolor</code> - the background color (<code>null</code> permitted).</dd>
- <dd><code>observer</code> - ignored.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd><code>true</code> if the image is drawn.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawImage-java.awt.Image-int-int-int-int-java.awt.Color-java.awt.image.ImageObserver-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawImage</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1562">drawImage</a>(java.awt.Image img,
- int x,
- int y,
- int w,
- int h,
- java.awt.Color bgcolor,
- java.awt.image.ImageObserver observer)</pre>
- <div class="block">Draws an image to the rectangle <code>(x, y, w, h)</code> (scaling it if
- required), first filling the background with the specified color. Note
- that the <code>observer</code> is ignored.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawImage</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>img</code> - the image.</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>w</code> - the width.</dd>
- <dd><code>h</code> - the height.</dd>
- <dd><code>bgcolor</code> - the background color (<code>null</code> permitted).</dd>
- <dd><code>observer</code> - ignored.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd><code>true</code> if the image is drawn.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawImage-java.awt.Image-int-int-int-int-int-int-int-int-java.awt.image.ImageObserver-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawImage</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1590">drawImage</a>(java.awt.Image img,
- int dx1,
- int dy1,
- int dx2,
- int dy2,
- int sx1,
- int sy1,
- int sx2,
- int sy2,
- java.awt.image.ImageObserver observer)</pre>
- <div class="block">Draws part of an image (defined by the source rectangle
- <code>(sx1, sy1, sx2, sy2)</code>) into the destination rectangle
- <code>(dx1, dy1, dx2, dy2)</code>. Note that the <code>observer</code>
- is ignored.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawImage</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>img</code> - the image.</dd>
- <dd><code>dx1</code> - the x-coordinate for the top left of the destination.</dd>
- <dd><code>dy1</code> - the y-coordinate for the top left of the destination.</dd>
- <dd><code>dx2</code> - the x-coordinate for the bottom right of the destination.</dd>
- <dd><code>dy2</code> - the y-coordinate for the bottom right of the destination.</dd>
- <dd><code>sx1</code> - the x-coordinate for the top left of the source.</dd>
- <dd><code>sy1</code> - the y-coordinate for the top left of the source.</dd>
- <dd><code>sx2</code> - the x-coordinate for the bottom right of the source.</dd>
- <dd><code>sy2</code> - the y-coordinate for the bottom right of the source.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd><code>true</code> if the image is drawn.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawImage-java.awt.Image-int-int-int-int-int-int-int-int-java.awt.Color-java.awt.image.ImageObserver-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawImage</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1623">drawImage</a>(java.awt.Image img,
- int dx1,
- int dy1,
- int dx2,
- int dy2,
- int sx1,
- int sy1,
- int sx2,
- int sy2,
- java.awt.Color bgcolor,
- java.awt.image.ImageObserver observer)</pre>
- <div class="block">Draws part of an image (defined by the source rectangle
- <code>(sx1, sy1, sx2, sy2)</code>) into the destination rectangle
- <code>(dx1, dy1, dx2, dy2)</code>. The destination rectangle is first
- cleared by filling it with the specified <code>bgcolor</code>. Note that
- the <code>observer</code> is ignored.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawImage</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>img</code> - the image.</dd>
- <dd><code>dx1</code> - the x-coordinate for the top left of the destination.</dd>
- <dd><code>dy1</code> - the y-coordinate for the top left of the destination.</dd>
- <dd><code>dx2</code> - the x-coordinate for the bottom right of the destination.</dd>
- <dd><code>dy2</code> - the y-coordinate for the bottom right of the destination.</dd>
- <dd><code>sx1</code> - the x-coordinate for the top left of the source.</dd>
- <dd><code>sy1</code> - the y-coordinate for the top left of the source.</dd>
- <dd><code>sx2</code> - the x-coordinate for the bottom right of the source.</dd>
- <dd><code>sy2</code> - the y-coordinate for the bottom right of the source.</dd>
- <dd><code>bgcolor</code> - the background color (<code>null</code> permitted).</dd>
- <dd><code>observer</code> - ignored.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd><code>true</code> if the image is drawn.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawRenderedImage-java.awt.image.RenderedImage-java.awt.geom.AffineTransform-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawRenderedImage</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1634">drawRenderedImage</a>(java.awt.image.RenderedImage img,
- java.awt.geom.AffineTransform xform)</pre>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawRenderedImage</code> in class <code>java.awt.Graphics2D</code></dd>
- </dl>
- </li>
- </ul>
- <a name="drawRenderableImage-java.awt.image.renderable.RenderableImage-java.awt.geom.AffineTransform-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawRenderableImage</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1679">drawRenderableImage</a>(java.awt.image.renderable.RenderableImage img,
- java.awt.geom.AffineTransform xform)</pre>
- <div class="block">Draws the renderable image.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawRenderableImage</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>img</code> - the renderable image.</dd>
- <dd><code>xform</code> - the transform.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawImage-java.awt.Image-java.awt.geom.AffineTransform-java.awt.image.ImageObserver-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawImage</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1696">drawImage</a>(java.awt.Image img,
- java.awt.geom.AffineTransform xform,
- java.awt.image.ImageObserver obs)</pre>
- <div class="block">Draws an image with the specified transform. Note that the
- <code>observer</code> is ignored.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawImage</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>img</code> - the image.</dd>
- <dd><code>xform</code> - the transform.</dd>
- <dd><code>obs</code> - the image observer (ignored).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd><code>true</code> if the image is drawn.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawImage-java.awt.image.BufferedImage-java.awt.image.BufferedImageOp-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawImage</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1715">drawImage</a>(java.awt.image.BufferedImage img,
- java.awt.image.BufferedImageOp op,
- int x,
- int y)</pre>
- <div class="block">Draws the image resulting from applying the <code>BufferedImageOp</code>
- to the specified image at the location <code>(x, y)</code>.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>drawImage</code> in class <code>java.awt.Graphics2D</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>img</code> - the image.</dd>
- <dd><code>op</code> - the operation.</dd>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- </dl>
- </li>
- </ul>
- <a name="copyArea-int-int-int-int-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>copyArea</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1731">copyArea</a>(int x,
- int y,
- int width,
- int height,
- int dx,
- int dy)</pre>
- <div class="block">Not yet implemented.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>copyArea</code> in class <code>java.awt.Graphics</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - the x-coordinate.</dd>
- <dd><code>y</code> - the y-coordinate.</dd>
- <dd><code>width</code> - the width of the area.</dd>
- <dd><code>height</code> - the height of the area.</dd>
- <dd><code>dx</code> - the delta x.</dd>
- <dd><code>dy</code> - the delta y.</dd>
- </dl>
- </li>
- </ul>
- <a name="dispose--">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>dispose</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/fx/FXGraphics2D.html#line.1739">dispose</a>()</pre>
- <div class="block">This method does nothing.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
- <dd><code>dispose</code> in class <code>java.awt.Graphics</code></dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a name="navbar.bottom">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.bottom.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/FXGraphics2D.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../../index-files/index-1.html">Index</a></li>
- <li><a href="../../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../../../org/jfree/chart/fx/ChartViewerSkin.html" title="class in org.jfree.chart.fx"><span class="typeNameLink">Prev Class</span></a></li>
- <li>Next Class</li>
- </ul>
- <ul class="navList">
- <li><a href="../../../../index.html?org/jfree/chart/fx/FXGraphics2D.html" target="_top">Frames</a></li>
- <li><a href="FXGraphics2D.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- </body>
- </html>
|