本文整理了Java中java.awt.Graphics2D.shear()
方法的一些代码示例,展示了Graphics2D.shear()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graphics2D.shear()
方法的具体详情如下:
包路径:java.awt.Graphics2D
类名称:Graphics2D
方法名:shear
暂无
代码示例来源:origin: apache/pdfbox
@Override
public void shear(double shx, double shy)
{
groupG2D.shear(shx, shy);
alphaG2D.shear(shx, shy);
}
代码示例来源:origin: geotools/geotools
public void shear(double shx, double shy) {
delegate.shear(shx, shy);
}
代码示例来源:origin: org.apache.pdfbox/pdfbox
@Override
public void shear(double shx, double shy)
{
groupG2D.shear(shx, shy);
alphaG2D.shear(shx, shy);
}
代码示例来源:origin: com.samskivert/samskivert
@Override
public void shear (double x, double y)
{
_copy.shear(x, y);
_primary.shear(x, y);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/napkinlaf
/** {@inheritDoc} */
@Override
public void shear(double shx, double shy) {
g2d.shear(shx, shy);
}
代码示例来源:origin: org.scijava/j3dcore
@Override
public final void shear(double shx, double shy) {
offScreenGraphics2D.shear(shx, shy);
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-graphics
@Override
public void shear(double shx, double shy) {
delegate.shear(shx, shy);
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
@Override
public void shear(double shx, double shy) {
delegate.shear(shx, shy);
}
代码示例来源:origin: robo-code/robocode
@Override
public void shear(double shx, double shy) {
g.shear(shx, shy);
}
代码示例来源:origin: org.swinglabs.swingx/swingx-graphics
@Override
public void shear(double shx, double shy) {
delegate.shear(shx, shy);
}
代码示例来源:origin: JetBrains/jediterm
@Override
public void shear(double shx, double shy) {
myPeer.shear(shx, shy);
}
代码示例来源:origin: jrtom/jung
public void shear(double shx, double shy) {
delegate.shear(shx, shy);
}
代码示例来源:origin: freehep/freehep-vectorgraphics
public void shear(double shx, double shy) {
hostGraphics.shear(shx, shy);
}
代码示例来源:origin: org.processing/core
@Override
public void shearY(float angle) {
g2.shear(0, Math.tan(angle));
}
代码示例来源:origin: com.haulmont.thirdparty/poi
public void shear(double shx, double shy)
{
System.out.println( "shear(shx, dhy):" );
System.out.println( "shx = " + shx );
System.out.println( "shy = " + shy );
g2D.shear( shx, shy );
}
代码示例来源:origin: robo-code/robocode
private void processShear(Graphics2D g) {
// shear(double, double)
g.shear(calls.getDouble(), calls.getDouble());
}
代码示例来源:origin: org.openmicroscopy/ome-poi
public void shear(double shx, double shy)
{
System.out.println( "shear(shx, dhy):" );
System.out.println( "shx = " + shx );
System.out.println( "shy = " + shy );
g2D.shear( shx, shy );
}
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
public void shear(double shx, double shy)
{
System.out.println( "shear(shx, dhy):" );
System.out.println( "shx = " + shx );
System.out.println( "shy = " + shy );
g2D.shear( shx, shy );
}
代码示例来源:origin: org.vx68k.quercus/quercus
/**
* shearing transformation
*/
public static boolean image_transform_shear(QuercusImage image,
double shx, double shy)
{
if (image == null)
return false;
image.getGraphics().shear(shx, shy);
return true;
}
代码示例来源:origin: net.java.openjdk.cacio/cacio-shared
@Override
public void shear(double shx, double shy) {
// Update base and user clip.
AffineTransform t = AffineTransform.getShearInstance(shx, shy);
try {
AffineTransform i = t.createInverse();
baseClip = transformShape(baseClip, i);
userClip = transformShape(userClip, i);
} catch (NoninvertibleTransformException ex) {
assert false; // Should never happen.
}
wrapped.shear(shx, shy);
}
内容来源于网络,如有侵权,请联系作者删除!