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

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

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

Graphics2D.hit介绍

暂无

代码示例

代码示例来源:origin: org.apache.poi/poi

public boolean hit(Rectangle rectangle, Shape shape, boolean flag)
{
  getG2D().setTransform(getTrans());
  getG2D().setStroke(getStroke());
  getG2D().setClip(getClip());
  return getG2D().hit(rectangle, shape, flag);
}

代码示例来源:origin: apache/pdfbox

@Override
public boolean hit(Rectangle rect, Shape s, boolean onStroke)
{
  return groupG2D.hit(rect, s, onStroke);
}

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

public boolean hit(Rectangle rect, Shape s, boolean onStroke) {
  return delegate.hit(rect, s, onStroke);
}

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

@Override
public boolean hit(Rectangle rect, Shape s, boolean onStroke) {
  return wrapped.hit(rect, s, onStroke);
}

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

@Override
public boolean hit(Rectangle rect, Shape s, boolean onStroke) {
 return myPeer.hit(rect, s, onStroke);
}

代码示例来源:origin: org.apache.pdfbox/pdfbox

@Override
public boolean hit(Rectangle rect, Shape s, boolean onStroke)
{
  return groupG2D.hit(rect, s, onStroke);
}

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

@Override
public boolean hit (Rectangle r, Shape s, boolean x)
{
  _copy.hit(r, s, x);
  return _primary.hit(r, s, x);
}

代码示例来源:origin: jrtom/jung

public boolean hit(Rectangle rect, Shape s, boolean onStroke) {
 return delegate.hit(rect, s, onStroke);
}

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

/** {@inheritDoc} */
@Override
public boolean hit(Rectangle rect, Shape s, boolean onStroke) {
  return g2d.hit(rect, s, onStroke);
}

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

public boolean hit(Rectangle rect,
      Shape s,
      boolean onStroke)
{
  System.out.println( "hit(Rectangle, Shape, onStroke):" );
  System.out.println( "rect = " + rect );
  System.out.println( "s = " + s );
  System.out.println( "onStroke = " + onStroke );
  return g2D.hit( rect, s, onStroke );
}

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

public boolean hit(Rectangle rect,
      Shape s,
      boolean onStroke)
{
  System.out.println( "hit(Rectangle, Shape, onStroke):" );
  System.out.println( "rect = " + rect );
  System.out.println( "s = " + s );
  System.out.println( "onStroke = " + onStroke );
  return g2D.hit( rect, s, onStroke );
}

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

public boolean hit(Rectangle rect,
      Shape s,
      boolean onStroke)
{
  System.out.println( "hit(Rectangle, Shape, onStroke):" );
  System.out.println( "rect = " + rect );
  System.out.println( "s = " + s );
  System.out.println( "onStroke = " + onStroke );
  return g2D.hit( rect, s, onStroke );
}

代码示例来源:origin: jrtom/jung

/** transform the shape before letting the delegate apply 'hit' with it */
public boolean hit(Rectangle rect, Shape s, boolean onStroke) {
 Shape shape = ((ShapeTransformer) transformer).transform(s);
 return delegate.hit(rect, shape, onStroke);
}

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

/**
 * transform the shape before letting the delegate apply 'hit'
 * with it
 */
public boolean hit(Rectangle rect, Shape s, boolean onStroke) {
  Shape shape = ((ShapeTransformer)transformer).transform(s);
  return delegate.hit(rect, shape, onStroke);
}

代码示例来源:origin: org.jaitools/jt-utils

@Override
public boolean hit(Rectangle rect, Shape s, boolean onStroke) {
  Graphics2D gr = getProxy();
  copyGraphicsParams(gr);
  boolean rtnVal = gr.hit(rect, s, onStroke);
  gr.dispose();
  return rtnVal;
}

代码示例来源:origin: com.googlecode.jaitools/jt-utils

@Override
public boolean hit(Rectangle rect, Shape s, boolean onStroke) {
  Graphics2D gr = getProxy();
  copyGraphicsParams(gr);
  boolean rtnVal = gr.hit(rect, s, onStroke);
  gr.dispose();
  return rtnVal;
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

public boolean hit(Rectangle rectangle, Shape shape, boolean flag)
{
  getG2D().setTransform(getTrans());
  getG2D().setStroke(getStroke());
  getG2D().setClip(getClip());
  return getG2D().hit(rectangle, shape, flag);
}

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

public boolean hit(Rectangle rectangle, Shape shape, boolean flag)
{
  getG2D().setTransform(getTrans());
  getG2D().setStroke(getStroke());
  getG2D().setClip(getClip());
  return getG2D().hit(rectangle, shape, flag);
}

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

public boolean hit(Rectangle rectangle, Shape shape, boolean flag)
{
  getG2D().setTransform(getTrans());
  getG2D().setStroke(getStroke());
  getG2D().setClip(getClip());
  return getG2D().hit(rectangle, shape, flag);
}

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

public boolean hit(Rectangle rectangle, Shape shape, boolean flag)
{
  getG2D().setTransform(getTrans());
  getG2D().setStroke(getStroke());
  getG2D().setClip(getClip());
  return getG2D().hit(rectangle, shape, flag);
}

相关文章

Graphics2D类方法