java.awt.Graphics2D.drawBytes()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(4.5k)|赞(0)|评价(0)|浏览(390)

本文整理了Java中java.awt.Graphics2D.drawBytes()方法的一些代码示例,展示了Graphics2D.drawBytes()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graphics2D.drawBytes()方法的具体详情如下:
包路径:java.awt.Graphics2D
类名称:Graphics2D
方法名:drawBytes

Graphics2D.drawBytes介绍

暂无

代码示例

代码示例来源:origin: geotools/geotools

public void drawBytes(byte[] data, int offset, int length, int x, int y) {
  delegate.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: syedlopez/proguard

public void drawBytes(byte[] data, int offset, int length, int x, int y)
{
  graphics.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: com.samskivert/samskivert

@Override
public void drawBytes (byte[] b, int x, int y, int w, int h)
{
  _copy.drawBytes(b, x, y, w, h);
  _primary.drawBytes(b, x, y, w, h);
}

代码示例来源:origin: us.ihmc/Plotting

private void drawBytes(byte[] data, int offset, int length, int x, int y)
{
 graphics2d.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: JetBrains/jediterm

@Override
public void drawBytes(byte[] data, int offset, int length, int x, int y) {
 myPeer.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: us.ihmc/ihmc-graphics-description

private void drawBytes(byte[] data, int offset, int length, int x, int y)
{
 graphics2d.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: org.swinglabs.swingx/swingx-all

@Override
public void drawBytes(byte[] data, int offset, int length, int x, int y) {
  delegate.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-graphics

@Override
public void drawBytes(byte[] data, int offset, int length, int x, int y) {
  delegate.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: us.ihmc/IHMCGraphicsDescription

private void drawBytes(byte[] data, int offset, int length, int x, int y)
{
 graphics2d.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: org.swinglabs.swingx/swingx-graphics

@Override
public void drawBytes(byte[] data, int offset, int length, int x, int y) {
  delegate.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: net.java.openjdk.cacio/cacio-shared

@Override
public void drawBytes(byte[] b, int o, int l, int x, int y) {
  wrapped.drawBytes(b, o, l, x, y);
}

代码示例来源:origin: net.sf.jung/jung-visualization

public void drawBytes(byte[] data, int offset, int length, int x, int y) {
  delegate.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: org.geotools/gt-render

public void drawBytes(byte[] data, int offset, int length, int x, int y) {
  delegate.drawBytes(data, offset, length, x, y);
}

代码示例来源:origin: org.openmicroscopy/ome-poi

public void drawBytes(byte data[], int offset, int length, int x, int y) {
  System.out.println( "drawBytes(byte[],int,int,int,int):" );
  System.out.println( "data = " + data );
  System.out.println( "offset = " + offset );
  System.out.println( "length = " + length );
  System.out.println( "x = " + x );
  System.out.println( "y = " + y );
  g2D.drawBytes( data, offset, length, x, y );
}

代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev

public void drawBytes(byte data[], int offset, int length, int x, int y) {
  System.out.println( "drawBytes(byte[],int,int,int,int):" );
  System.out.println( "data = " + data );
  System.out.println( "offset = " + offset );
  System.out.println( "length = " + length );
  System.out.println( "x = " + x );
  System.out.println( "y = " + y );
  g2D.drawBytes( data, offset, length, x, y );
}

代码示例来源:origin: com.haulmont.thirdparty/poi

public void drawBytes(byte data[], int offset, int length, int x, int y) {
  System.out.println( "drawBytes(byte[],int,int,int,int):" );
  System.out.println( "data = " + data );
  System.out.println( "offset = " + offset );
  System.out.println( "length = " + length );
  System.out.println( "x = " + x );
  System.out.println( "y = " + y );
  g2D.drawBytes( data, offset, length, x, y );
}

代码示例来源:origin: robo-code/robocode

private void processDrawBytes(Graphics2D g) {
  // drawBytes(byte[], int, int, int, int)
  g.drawBytes(serializer.deserializeBytes(calls), calls.getInt(), calls.getInt(), calls.getInt(), calls.getInt());
}

代码示例来源:origin: robo-code/robocode

@Override
public void drawBytes(byte[] 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.drawBytes(data, offset, length, x, -y);
  // Restore the transform
  g.setTransform(saveTx);
}

代码示例来源:origin: org.scijava/j3dcore

@Override
public void drawBytes(byte data[], int offset, int length, int x, int y) {
// XXXX: call validate with bounding box of primitive
validate();
offScreenGraphics2D.drawBytes(data,  offset, length, x, y);
}

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/napkinlaf

@Override
/** {@inheritDoc} */
public void drawBytes(byte[] data, int offset, int length, int x, int y) {
  if (isMergedFont) {
    drawString(new String(data, offset, length), x, y);
  } else {
    g2d.drawBytes(data, offset, length, x, y);
  }
}

相关文章

Graphics2D类方法