Javadoc for new svg package

This commit is contained in:
zzz
2024-07-25 08:02:11 -04:00
parent a8df1402d9
commit f84963bf06
3 changed files with 15 additions and 15 deletions

View File

@ -114,8 +114,7 @@ public class SimpleSVGMaker {
* @param border null for none * @param border null for none
* @param fill null for none * @param fill null for none
* @param clipid as returned from defineClipID() or null for none * @param clipid as returned from defineClipID() or null for none
* @param id CSS id or null for none * @param hints non-null
* @param clz CSS class or null for none
*/ */
public void drawCircle(int x, int y, int radius, Color border, Color fill, BasicStroke stroke, String clipid, Map<Object, Object> hints) { public void drawCircle(int x, int y, int radius, Color border, Color fill, BasicStroke stroke, String clipid, Map<Object, Object> hints) {
buf.append("<circle "); buf.append("<circle ");
@ -142,8 +141,7 @@ public class SimpleSVGMaker {
* @param border null for none * @param border null for none
* @param fill null for none * @param fill null for none
* @param clipid as returned from defineClipID() or null for none * @param clipid as returned from defineClipID() or null for none
* @param id CSS id or null for none * @param hints non-null
* @param clz CSS class or null for none
*/ */
public void drawSquare(int x, int y, int sz, Color border, Color fill, BasicStroke stroke, String clipid, Map<Object, Object> hints) { public void drawSquare(int x, int y, int sz, Color border, Color fill, BasicStroke stroke, String clipid, Map<Object, Object> hints) {
drawRect(x - (sz/2), y - (sz/2), sz, sz, border, fill, stroke, clipid, hints); drawRect(x - (sz/2), y - (sz/2), sz, sz, border, fill, stroke, clipid, hints);
@ -153,8 +151,7 @@ public class SimpleSVGMaker {
* Draw rect * Draw rect
* @param border null for none * @param border null for none
* @param fill null for none * @param fill null for none
* @param id CSS id or null for none * @param hints non-null
* @param clz CSS class or null for none
*/ */
public void drawRect(int x, int y, int width, int height, Color border, Color fill, BasicStroke stroke, String clipid, Map<Object, Object> hints) { public void drawRect(int x, int y, int width, int height, Color border, Color fill, BasicStroke stroke, String clipid, Map<Object, Object> hints) {
buf.append("<rect "); buf.append("<rect ");
@ -182,8 +179,7 @@ public class SimpleSVGMaker {
* Draw line * Draw line
* @param color null to let CSS do it * @param color null to let CSS do it
* @param clipid as returned from defineClipID() or null for none * @param clipid as returned from defineClipID() or null for none
* @param id CSS id or null for none * @param hints non-null
* @param clz CSS class or null for none
*/ */
public void drawLine(int x1, int y1, int x2, int y2, Color color, BasicStroke stroke, String clipid, Map<Object, Object> hints) { public void drawLine(int x1, int y1, int x2, int y2, Color color, BasicStroke stroke, String clipid, Map<Object, Object> hints) {
buf.append("<line "); buf.append("<line ");
@ -212,8 +208,7 @@ public class SimpleSVGMaker {
* Draw polyline * Draw polyline
* @param color null to let CSS do it * @param color null to let CSS do it
* @param clipid as returned from defineClipID() or null for none * @param clipid as returned from defineClipID() or null for none
* @param id CSS id or null for none * @param hints non-null
* @param clz CSS class or null for none
*/ */
public void drawPolyline(int[] x, int[] y, int sz, Color color, BasicStroke stroke, String clipid, Map<Object, Object> hints) { public void drawPolyline(int[] x, int[] y, int sz, Color color, BasicStroke stroke, String clipid, Map<Object, Object> hints) {
if (sz < 2) if (sz < 2)
@ -251,8 +246,7 @@ public class SimpleSVGMaker {
* Fill polygon * Fill polygon
* @param color null to let CSS do it * @param color null to let CSS do it
* @param clipid as returned from defineClipID() or null for none * @param clipid as returned from defineClipID() or null for none
* @param id CSS id or null for none * @param hints non-null
* @param clz CSS class or null for none
*/ */
public void fillPolygon(int[] x, int[] y, int sz, Color color, String clipid, Map<Object, Object> hints) { public void fillPolygon(int[] x, int[] y, int sz, Color color, String clipid, Map<Object, Object> hints) {
if (sz < 2) if (sz < 2)
@ -289,8 +283,7 @@ public class SimpleSVGMaker {
* @param color null to let CSS do it * @param color null to let CSS do it
* @param font null to let CSS do it * @param font null to let CSS do it
* @param clipid as returned from defineClipID() or null for none * @param clipid as returned from defineClipID() or null for none
* @param id CSS id or null for none * @param hints non-null
* @param clz CSS class or null for none
*/ */
public void drawText(String text, int x, int y, Color color, Font font, String clipid, Map<Object, Object> hints) { public void drawText(String text, int x, int y, Color color, Font font, String clipid, Map<Object, Object> hints) {
buf.append("<text "); buf.append("<text ");

View File

@ -0,0 +1,7 @@
<html>
<body>
<p>
SVG renderer and adapter for rrd4j. Since 0.9.64.
</p>
</body>
</html>

View File

@ -880,7 +880,7 @@
<group title="Imagegen Application" packages="com.docuverse.identicon:com.google.zxing:com.google.zxing.*:net.i2p.imagegen" /> <group title="Imagegen Application" packages="com.docuverse.identicon:com.google.zxing:com.google.zxing.*:net.i2p.imagegen" />
<group title="Installer Utilities" packages="net.i2p.installer" /> <group title="Installer Utilities" packages="net.i2p.installer" />
<group title="Jetty Utilities" packages="net.i2p.jetty:net.i2p.servlet:net.i2p.servlet.*" /> <group title="Jetty Utilities" packages="net.i2p.jetty:net.i2p.servlet:net.i2p.servlet.*" />
<group title="RRD4J Library (jrobin.jar)" packages="org.rrd4j:org.rrd4j.*:com.tomgibara.crinch.hashing" /> <group title="RRD4J Library (jrobin.jar)" packages="org.rrd4j:org.rrd4j.*:com.tomgibara.crinch.hashing:net.i2p.rrd4j" />
<group title="SAM Bridge" packages="net.i2p.sam" /> <group title="SAM Bridge" packages="net.i2p.sam" />
<group title="SAM Demos" packages="net.i2p.sam.client" /> <group title="SAM Demos" packages="net.i2p.sam.client" />
<group title="SusiDNS Application" packages="i2p.susi.dns:net.i2p.addressbook.servlet" /> <group title="SusiDNS Application" packages="i2p.susi.dns:net.i2p.addressbook.servlet" />