public class OMEROText extends Object implements OMERORealMaskRealInterval<TextData>
TextData
as a RealMaskRealInterval
.
Technically text is not considered a ROI. This wrapper is only here to
facilitate conversions between OMERO and ImageJ 1.x. As such it throw an
UnsupportedOperationException
for most RealMaskRealInterval
methods. It should NOT be used for other purposes!
Modifier and Type | Method and Description |
---|---|
RealMaskRealInterval |
and(Predicate<? super RealLocalizable> other) |
BoundaryType |
boundaryType() |
TextData |
getShape() |
String |
getText() |
double |
getX()
Returns the x coordinate of the lower left corner of the text.
|
double |
getY()
Returns the y coordinate of the lower left corner of the text.
|
KnownConstant |
knownConstant() |
RealMaskRealInterval |
minus(Predicate<? super RealLocalizable> other) |
RealMaskRealInterval |
negate() |
int |
numDimensions() |
RealMask |
or(Predicate<? super RealLocalizable> other) |
RealMaskRealInterval |
or(RealMaskRealInterval other) |
double |
realMax(int d) |
double |
realMin(int d) |
void |
setText(String text) |
void |
setX(double x)
Sets the x coordinate of where the text starts.
|
void |
setY(double y)
Sets the y coordinate of the base of where the text
starts.
|
boolean |
test(RealLocalizable t) |
RealMaskRealInterval |
transform(AffineGet transformToSource) |
RealMask |
transform(RealTransform transformToSource) |
RealMask |
xor(Predicate<? super RealLocalizable> other) |
RealMaskRealInterval |
xor(RealMaskRealInterval other) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
testPosition
requiredAxisTypes
isEmpty, realMax, realMax, realMin, realMin
equals, isAll, maskType
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
public OMEROText(TextData text)
public String getText()
public double getX()
public double getY()
public void setText(String text)
public void setX(double x)
public void setY(double y)
public TextData getShape()
getShape
in interface OMERORealMask<TextData>
public RealMaskRealInterval and(Predicate<? super RealLocalizable> other)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
and
in interface Predicate<RealLocalizable>
and
in interface MaskPredicate<RealLocalizable>
and
in interface RealMask
and
in interface RealMaskRealInterval
public RealMaskRealInterval or(RealMaskRealInterval other)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
or
in interface RealMaskRealInterval
public RealMaskRealInterval negate()
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
negate
in interface Predicate<RealLocalizable>
negate
in interface MaskPredicate<RealLocalizable>
negate
in interface RealMask
public RealMaskRealInterval minus(Predicate<? super RealLocalizable> other)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
minus
in interface MaskPredicate<RealLocalizable>
minus
in interface RealMask
minus
in interface RealMaskRealInterval
public RealMaskRealInterval xor(RealMaskRealInterval other)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
xor
in interface RealMaskRealInterval
public RealMaskRealInterval transform(AffineGet transformToSource)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
transform
in interface RealMaskRealInterval
public double realMin(int d)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
realMin
in interface RealInterval
public double realMax(int d)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
realMax
in interface RealInterval
public RealMask or(Predicate<? super RealLocalizable> other)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
or
in interface Predicate<RealLocalizable>
or
in interface MaskPredicate<RealLocalizable>
or
in interface RealMask
public RealMask xor(Predicate<? super RealLocalizable> other)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
xor
in interface MaskPredicate<RealLocalizable>
xor
in interface RealMask
public RealMask transform(RealTransform transformToSource)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
public BoundaryType boundaryType()
This does not throw an UnsupportedOperationException
as it is
needed for the conversions.
boundaryType
in interface MaskPredicate<RealLocalizable>
public KnownConstant knownConstant()
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
knownConstant
in interface MaskPredicate<RealLocalizable>
public boolean test(RealLocalizable t)
Always throws an UnsupportedOperationException
. Text is not
technically a ROI.
test
in interface Predicate<RealLocalizable>
public int numDimensions()
This does not throw an UnsupportedOperationException
as it is
needed for the conversions.
numDimensions
in interface EuclideanSpace
Copyright © 2014–2022 ImageJ. All rights reserved.