< prev index next >
modules/graphics/src/main/java/javafx/scene/transform/Rotate.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
*** 718,734 ****
* *
* 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) {
double localPivotX = getPivotX();
double localPivotY = getPivotY();
double localPivotZ = getPivotZ();
double localAngle = getAngle();
--- 718,729 ----
* *
* Internal implementation stuff *
* *
**************************************************************************/
@Override
! void apply(final Affine3D trans) {
double localPivotX = getPivotX();
double localPivotY = getPivotY();
double localPivotZ = getPivotZ();
double localAngle = getAngle();
*** 741,757 ****
trans.rotate(Math.toRadians(localAngle),
getAxis().getX(), getAxis().getY(), getAxis().getZ());
}
}
- /**
- * @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(BaseTransform trans) {
if (isIdentity()) {
return trans;
}
double localPivotX = getPivotX();
--- 736,747 ----
trans.rotate(Math.toRadians(localAngle),
getAxis().getX(), getAxis().getY(), getAxis().getZ());
}
}
@Override
! BaseTransform derive(BaseTransform trans) {
if (isIdentity()) {
return trans;
}
double localPivotX = getPivotX();
< prev index next >