public class InspectPatchTrianglesMode extends Object implements Mode
LayerSet.getOverlay()
, the
triangle of the transform mesh in the Patch
under the cursor.Modifier and Type | Class and Description |
---|---|
protected class |
InspectPatchTrianglesMode.Inspector |
Modifier and Type | Field and Description |
---|---|
protected Display |
display |
protected InspectPatchTrianglesMode.Inspector |
inspector |
protected ShapeProxy |
proxy |
Constructor and Description |
---|
InspectPatchTrianglesMode(Display display) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply() |
boolean |
cancel() |
boolean |
canChangeLayer() |
boolean |
canPan() |
boolean |
canZoom() |
GraphicsSource |
getGraphicsSource() |
Rectangle |
getRepaintBounds() |
boolean |
isDragging() |
void |
magnificationUpdated(Rectangle srcRect,
double magnification) |
void |
mouseDragged(MouseEvent me,
int x_p,
int y_p,
int x_d,
int y_d,
int x_d_old,
int y_d_old) |
void |
mousePressed(MouseEvent me,
int x_p,
int y_p,
double magnification) |
void |
mouseReleased(MouseEvent me,
int x_p,
int y_p,
int x_d,
int y_d,
int x_r,
int y_r) |
void |
redoOneStep() |
void |
srcRectUpdated(Rectangle srcRect,
double magnification) |
void |
undoOneStep() |
protected final Display display
protected final ShapeProxy proxy
protected final InspectPatchTrianglesMode.Inspector inspector
public InspectPatchTrianglesMode(Display display)
public GraphicsSource getGraphicsSource()
getGraphicsSource
in interface Mode
public boolean canChangeLayer()
canChangeLayer
in interface Mode
public boolean isDragging()
isDragging
in interface Mode
public void undoOneStep()
undoOneStep
in interface Mode
public void redoOneStep()
redoOneStep
in interface Mode
public void mousePressed(MouseEvent me, int x_p, int y_p, double magnification)
mousePressed
in interface Mode
public void mouseDragged(MouseEvent me, int x_p, int y_p, int x_d, int y_d, int x_d_old, int y_d_old)
mouseDragged
in interface Mode
public void mouseReleased(MouseEvent me, int x_p, int y_p, int x_d, int y_d, int x_r, int y_r)
mouseReleased
in interface Mode
public void srcRectUpdated(Rectangle srcRect, double magnification)
srcRectUpdated
in interface Mode
public void magnificationUpdated(Rectangle srcRect, double magnification)
magnificationUpdated
in interface Mode
public Rectangle getRepaintBounds()
getRepaintBounds
in interface Mode
Copyright © 2015–2021 Fiji. All rights reserved.