本文整理了Java中java.awt.Graphics2D.drawChars()
方法的一些代码示例,展示了Graphics2D.drawChars()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graphics2D.drawChars()
方法的具体详情如下:
包路径:java.awt.Graphics2D
类名称:Graphics2D
方法名:drawChars
暂无
代码示例来源:origin: geotools/geotools
public void drawChars(char[] data, int offset, int length, int x, int y) {
delegate.drawChars(data, offset, length, x, y);
}
代码示例来源:origin: bobbylight/RSyntaxTextArea
g.drawChars(text, flushIndex, flushLen, (int)x,(int)y);
flushLen = 0;
g.drawChars(text, flushIndex, flushLen, (int)x,(int)y);
flushLen = 0;
g.drawChars(text, flushIndex, flushLen, (int)x,(int)y);
代码示例来源:origin: bobbylight/RSyntaxTextArea
g.drawChars(text, flushIndex, flushLen, (int)x,(int)y);
flushLen = 0;
g.drawChars(text, flushIndex, flushLen, (int)x,(int)y);
代码示例来源:origin: com.samskivert/samskivert
@Override
public void drawChars (char[] c, int x, int y, int w, int h)
{
_copy.drawChars(c, x, y, w, h);
_primary.drawChars(c, x, y, w, h);
}
代码示例来源:origin: JetBrains/jediterm
@Override
public void drawChars(char[] data, int offset, int length, int x, int y) {
myPeer.drawChars(data, offset, length, x, y);
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
@Override
public void drawChars(char[] data, int offset, int length, int x, int y) {
delegate.drawChars(data, offset, length, x, y);
}
代码示例来源:origin: org.swinglabs.swingx/swingx-graphics
@Override
public void drawChars(char[] data, int offset, int length, int x, int y) {
delegate.drawChars(data, offset, length, x, y);
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-graphics
@Override
public void drawChars(char[] data, int offset, int length, int x, int y) {
delegate.drawChars(data, offset, length, x, y);
}
代码示例来源:origin: geogebra/geogebra
@Override
public void drawChars(char[] data, int offset, int length, int x, int y) {
impl.drawChars(data, offset, length, x, y);
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
private void drawChars(char[] data, int offset, int length, int x, int y)
{
graphics2d.drawChars(data, offset, length, x, y);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
private void drawChars(char[] data, int offset, int length, int x, int y)
{
graphics2d.drawChars(data, offset, length, x, y);
}
代码示例来源:origin: com.haulmont.thirdparty/poi
public void drawChars(char data[], int offset, int length, int x, int y) {
System.out.println( "drawChars(data,int,int,int,int):" );
System.out.println( "data = " + data.toString() );
System.out.println( "offset = " + offset );
System.out.println( "length = " + length );
System.out.println( "x = " + x );
System.out.println( "y = " + y );
g2D.drawChars( data, offset, length, x, y );
}
代码示例来源:origin: org.openmicroscopy/ome-poi
public void drawChars(char data[], int offset, int length, int x, int y) {
System.out.println( "drawChars(data,int,int,int,int):" );
System.out.println( "data = " + data.toString() );
System.out.println( "offset = " + offset );
System.out.println( "length = " + length );
System.out.println( "x = " + x );
System.out.println( "y = " + y );
g2D.drawChars( data, offset, length, x, y );
}
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
public void drawChars(char data[], int offset, int length, int x, int y) {
System.out.println( "drawChars(data,int,int,int,int):" );
System.out.println( "data = " + data.toString() );
System.out.println( "offset = " + offset );
System.out.println( "length = " + length );
System.out.println( "x = " + x );
System.out.println( "y = " + y );
g2D.drawChars( data, offset, length, x, y );
}
代码示例来源:origin: robo-code/robocode
@Override
public void drawChars(char[] data, int offset, int length, int x, int y) {
// Change the transform to use the mirrored transform and save the current one
AffineTransform saveTx = setToMirroredTransform();
g.drawChars(data, offset, length, x, -y);
// Restore the transform
g.setTransform(saveTx);
}
代码示例来源:origin: org.scijava/j3dcore
@Override
public void drawChars(char data[], int offset, int length, int x, int y) {
// XXXX: call validate with bounding box of primitive
validate();
offScreenGraphics2D.drawChars(data, offset, length, x, y);
}
代码示例来源:origin: de.sciss/abc4j
protected void renderAccidentals(Graphics2D gfx) {
if (accidentalsPosition!=null) {
Color previousColor = gfx.getColor();
setColor(gfx, ScoreElements.ACCIDENTAL);
gfx.drawChars(accidentalsChars, 0, 1,
(int)accidentalsPosition.getX(),
(int)accidentalsPosition.getY());
gfx.setColor(previousColor);
}
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/napkinlaf
@Override
/** {@inheritDoc} */
public void drawChars(char[] data, int offset, int length, int x, int y) {
if (isMergedFont) {
drawString(new String(data, offset, length), x, y);
} else {
g2d.drawChars(data, offset, length, x, y);
}
}
代码示例来源:origin: robo-code/robocode
private void processDrawChars(Graphics2D g) {
// drawBytes(char[], int, int, int, int)
g.drawChars(serializer.deserializeChars(calls), calls.getInt(), calls.getInt(), calls.getInt(), calls.getInt());
}
代码示例来源:origin: de.sciss/abc4j
protected void renderDots(Graphics2D context){
if (dotsPosition!=null) {
char[] glyph = new char[] {
getMusicalFont().getDot()
};
for (Point2D aDotsPosition : dotsPosition) {
context.drawChars(glyph, 0, 1,
(int) aDotsPosition.getX(), (int) aDotsPosition.getY());
}
}
}
内容来源于网络,如有侵权,请联系作者删除!