mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 05:45:37 +00:00
Set Registration Point action
This commit is contained in:
@@ -3055,6 +3055,12 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
return mutable;
|
||||
}
|
||||
|
||||
public void setRegistrationPoint(Point2D registrationPoint) {
|
||||
this.registrationPoint = toImageRegistrationPoint(registrationPoint);
|
||||
redraw();
|
||||
fireBoundsChange(getTransformBounds(), getTransformRegistrationPoint());
|
||||
}
|
||||
|
||||
public void applyTransformMatrix(Matrix matrix) {
|
||||
Matrix prevNewMatrix = getNewMatrix();
|
||||
Matrix m = prevNewMatrix;
|
||||
|
||||
Reference in New Issue
Block a user