Tabnine Logo
Mask.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
ome.xml.model.Mask
constructor

Best Java code snippets using ome.xml.model.Mask.<init> (Showing top 20 results out of 315)

origin: org.openmicroscopy/ome-xml

public void setMaskWidth(Double width, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // Width is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setWidth(width);
}
origin: ome/ome-xml

public void setMaskX(Double x, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // X is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setX(x);
}
origin: org.openmicroscopy/ome-xml

public void setMaskStrokeWidth(Length strokeWidth, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // StrokeWidth is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setStrokeWidth(strokeWidth);
}
origin: ome/ome-xml

public void setMaskFontFamily(FontFamily fontFamily, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // FontFamily is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setFontFamily(fontFamily);
}
origin: ome/ome-xml

public void setMaskFontStyle(FontStyle fontStyle, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // FontStyle is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setFontStyle(fontStyle);
}
origin: ome/ome-xml

public void setMaskHeight(Double height, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // Height is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setHeight(height);
}
origin: ome/ome-xml

public void setMaskTheT(NonNegativeInteger theT, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // TheT is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setTheT(theT);
}
origin: org.openmicroscopy/ome-xml

public void setMaskFontSize(Length fontSize, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // FontSize is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setFontSize(fontSize);
}
origin: org.openmicroscopy/ome-xml

public void setMaskFontStyle(FontStyle fontStyle, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // FontStyle is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setFontStyle(fontStyle);
}
origin: org.openmicroscopy/ome-xml

public void setMaskText(String text, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // Text is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setText(text);
}
origin: org.openmicroscopy/ome-xml

public void setMaskY(Double y, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // Y is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setY(y);
}
origin: ome/ome-xml

public void setMaskStrokeColor(Color strokeColor, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // StrokeColor is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setStrokeColor(strokeColor);
}
origin: ome/ome-xml

public void setMaskText(String text, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // Text is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setText(text);
}
origin: org.openmicroscopy/ome-xml

public void setMaskFillColor(Color fillColor, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // FillColor is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setFillColor(fillColor);
}
origin: org.openmicroscopy/ome-xml

public void setMaskFillRule(FillRule fillRule, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // FillRule is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setFillRule(fillRule);
}
origin: org.openmicroscopy/ome-xml

public void setMaskFontFamily(FontFamily fontFamily, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // FontFamily is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setFontFamily(fontFamily);
}
origin: org.openmicroscopy/ome-xml

public void setMaskLocked(Boolean locked, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // Locked is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setLocked(locked);
}
origin: org.openmicroscopy/ome-xml

public void setMaskTransform(AffineTransform transform, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // Transform is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setTransform(transform);
}
origin: org.openmicroscopy/ome-xml

public void setMaskX(Double x, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // X is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 o3.setX(x);
}
origin: org.openmicroscopy/ome-xml

public void setMaskID(String id, int ROIIndex, int shapeIndex)
{
 // Parents: None
 // ID is not a reference
 OME o0 = root;
 if (o0.sizeOfROIList() == ROIIndex)
 {
  o0.addROI(new ROI());
 }
 ROI o1 = o0.getROI(ROIIndex);
 if (o1.getUnion() == null)
 {
  o1.setUnion(new Union());
 }
 Union o2 = o1.getUnion();
 if (o2.sizeOfShapeList() == shapeIndex)
 {
  o2.addShape(new Mask());
 }
 Mask o3 = (Mask) o2.getShape(shapeIndex);
 model.addModelObject(id, o3);
 o3.setID(id);
}
ome.xml.modelMask<init>

Javadoc

Default constructor.

Popular methods of Mask

  • setBinData
  • setHeight
  • setWidth
  • setX
  • setY
  • asXMLElement
  • getBinData
  • getChildrenByTagName
  • getFillColor
  • getFillRule
  • getFontFamily
  • getFontSize
  • getFontFamily,
  • getFontSize,
  • getFontStyle,
  • getHeight,
  • getID,
  • getLinkedAnnotation,
  • getLocked,
  • getStrokeColor,
  • getStrokeDashArray

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • runOnUiThread (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now