public class ManualAlignMode.Landmarks extends Object
Modifier and Type | Method and Description |
---|---|
int |
add(Layer layer,
double x_p,
double y_p)
Returns the index of the newly added point, or -1 if the layer doesn't match.
|
int |
find(double x_p,
double y_p,
double mag)
Returns the index of the closest point, with accuracy depending on magnification.
|
void |
paint(Graphics2D g,
Rectangle srcRect,
double mag) |
void |
remove(int index) |
void |
set(int index,
double x_d,
double y_d)
Sets the point at @param index to the new location.
|
public Landmarks(Layer layer)
public int add(Layer layer, double x_p, double y_p)
public int find(double x_p, double y_p, double mag)
public void set(int index, double x_d, double y_d)
public void remove(int index)
public void paint(Graphics2D g, Rectangle srcRect, double mag)
Copyright © 2015–2021 Fiji. All rights reserved.