< prev index next >

modules/graphics/src/main/java/javafx/scene/transform/Shear.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 686,718 **** * * * Internal implementation stuff * * * **************************************************************************/ - /** - * @treatAsPrivate implementation detail - * @deprecated This is an internal API that is not intended for use and will be removed in the next version - */ - @Deprecated @Override ! public void impl_apply(final Affine3D trans) { if (getPivotX() != 0 || getPivotY() != 0) { trans.translate(getPivotX(), getPivotY()); trans.shear(getX(), getY()); trans.translate(-getPivotX(), -getPivotY()); } else { trans.shear(getX(), getY()); } } - /** - * @treatAsPrivate implementation detail - * @deprecated This is an internal API that is not intended for use and will be removed in the next version - */ - @Deprecated @Override ! public BaseTransform impl_derive(final BaseTransform trans) { return trans.deriveWithConcatenation( 1.0, getY(), getX(), 1.0, getTx(), getTy()); } --- 686,708 ---- * * * Internal implementation stuff * * * **************************************************************************/ @Override ! void apply(final Affine3D trans) { if (getPivotX() != 0 || getPivotY() != 0) { trans.translate(getPivotX(), getPivotY()); trans.shear(getX(), getY()); trans.translate(-getPivotX(), -getPivotY()); } else { trans.shear(getX(), getY()); } } @Override ! BaseTransform derive(final BaseTransform trans) { return trans.deriveWithConcatenation( 1.0, getY(), getX(), 1.0, getTx(), getTy()); }
< prev index next >