public class GraphUtil
extends java.lang.Object
Constructor and Description |
---|
GraphUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
drawAlleleShape(java.awt.Graphics2D g,
Marker marker,
int x,
int y,
int w,
int h)
Draw a variant using two colors scheme from allele results
|
static void |
drawBaseMod(java.awt.Graphics g,
int x,
int y,
int width,
int height,
int type,
int strand,
int conf)
uses triangles at top/bottom for strand
|
static void |
drawBaseModShape(java.awt.Graphics g,
int x,
int y,
int width,
int height,
int strand) |
static void |
drawBaseModShapeDna(java.awt.Graphics g,
int x,
int y,
int width,
int height,
int strand,
int shape) |
static void |
drawBaseModUnmodified(java.awt.Graphics g,
int x,
int y,
int width,
int height,
int strand) |
static void |
drawCircularText(java.awt.Graphics2D g,
java.lang.String text,
java.awt.Point center,
double radius,
double a1,
double af)
Draw text on a circular curve, one character at a time
|
static void |
drawFilledRoundRectangle(java.awt.Graphics g,
int x1,
int y1,
int x2,
int y2,
int rtl,
int rtr,
int rbl,
int rbr) |
static void |
drawFilledStrandedRect(java.awt.Graphics g,
int x,
int y,
int width,
int height,
int nStrand) |
protected static void |
drawMinSizeMarker(java.awt.Graphics g,
int x,
int y,
int correction,
int height,
int strand) |
static void |
drawOutlinedStrandedRect(java.awt.Graphics g,
int x,
int y,
int width,
int height,
int nStrand) |
static void |
drawRoundRectangle(java.awt.Graphics g,
int x1,
int y1,
int x2,
int y2,
int rtl,
int rtr,
int rbl,
int rbr,
boolean top,
boolean right,
boolean bottom,
boolean left) |
static void |
drawVariantShape(java.awt.Graphics2D g,
int type,
int x1,
int y,
int width,
int font_width,
int dy) |
static void |
eraseStrandedReadEdge(java.awt.Graphics g,
int x,
int y,
int width,
int height,
int nStrand) |
public static void drawCircularText(java.awt.Graphics2D g, java.lang.String text, java.awt.Point center, double radius, double a1, double af)
g
- a Graphics2Dtext
- the string to drawcenter
- the center point of the circleradius
- the radius of the circlea1
- the beginning angle on the circle to start, in radiansaf
- the angle advance factor (usually 1.0)public static void eraseStrandedReadEdge(java.awt.Graphics g, int x, int y, int width, int height, int nStrand)
public static void drawFilledStrandedRect(java.awt.Graphics g, int x, int y, int width, int height, int nStrand)
public static void drawOutlinedStrandedRect(java.awt.Graphics g, int x, int y, int width, int height, int nStrand)
public static void drawRoundRectangle(java.awt.Graphics g, int x1, int y1, int x2, int y2, int rtl, int rtr, int rbl, int rbr, boolean top, boolean right, boolean bottom, boolean left)
g
- x1
- y1
- x2
- y2
- rtl
- rtr
- rbl
- rbr
- top
- right
- bottom
- left
- public static void drawFilledRoundRectangle(java.awt.Graphics g, int x1, int y1, int x2, int y2, int rtl, int rtr, int rbl, int rbr)
g
- x1
- y1
- x2
- y2
- rtl
- rtr
- rbl
- rbr
- public static void drawBaseMod(java.awt.Graphics g, int x, int y, int width, int height, int type, int strand, int conf)
g
- x
- y
- width
- height
- type
- strand
- conf
- public static void drawBaseModUnmodified(java.awt.Graphics g, int x, int y, int width, int height, int strand)
public static void drawBaseModShape(java.awt.Graphics g, int x, int y, int width, int height, int strand)
public static void drawBaseModShapeDna(java.awt.Graphics g, int x, int y, int width, int height, int strand, int shape)
protected static void drawMinSizeMarker(java.awt.Graphics g, int x, int y, int correction, int height, int strand)
g
- x
- y
- correction
- height
- strand
- public static void drawVariantShape(java.awt.Graphics2D g, int type, int x1, int y, int width, int font_width, int dy)
g
- type
- x1
- y
- width
- font_width
- dy
- public static void drawAlleleShape(java.awt.Graphics2D g, Marker marker, int x, int y, int w, int h)
g
- marker
- x
- y
- w
- h
- Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.