Tabnine Logo
OverlayService.getDefaultSettings
Code IndexAdd Tabnine to your IDE (free)

How to use
getDefaultSettings
method
in
net.imagej.display.OverlayService

Best Java code snippets using net.imagej.display.OverlayService.getDefaultSettings (Showing top 3 results out of 315)

origin: net.imagej/imagej-common

@Override
public void run() {
  if (overlayService != null) {
    updateSettings(overlayService.getDefaultSettings());
  }
  super.run();
}
origin: net.imagej/imagej-common

public AbstractOverlay(final Context context, RealInterval interval) {
  super(context, interval);
  if (overlayService == null) applySettings(new OverlaySettings());
  else applySettings(overlayService.getDefaultSettings());
  setAxis(new DefaultLinearAxis(Axes.X, null, 1), 0);
  setAxis(new DefaultLinearAxis(Axes.Y, null, 1), 1);
}
origin: net.imagej/imagej-ui-swing

protected void initDefaultSettings(final F figure) {
  final OverlaySettings settings = overlayService.getDefaultSettings();
  set(figure, AttributeKeys.STROKE_WIDTH, getDefaultLineWidth(settings));
  set(figure, AttributeKeys.FILL_COLOR, getDefaultFillColor(settings));
  set(figure, AttributeKeys.STROKE_COLOR, getDefaultStrokeColor(settings));
  // Avoid IllegalArgumentException: miter limit < 1 on the EDT
  set(figure, AttributeKeys.IS_STROKE_MITER_LIMIT_FACTOR, false);
}
net.imagej.displayOverlayServicegetDefaultSettings

Popular methods of OverlayService

  • removeOverlay
    Removes an Overlay from all ImageDisplays.
  • addOverlays
    Adds the list of Overlays to the given ImageDisplay.
  • getActiveOverlay
    Returns the active overlay associated with a display
  • getOverlays
    Gets a list of Overlays linked to the given ImageDisplay. If selectedOnly is true then it will gathe
  • divideCompositeOverlay
    Divides a CompositeOverlay into its constituent parts and registers each part with the appropriate d
  • drawOverlay
    Draws the outline of a given overlay in a display using the set of channel information provided.
  • fillOverlay
    Draws and fills the outline of a given overlay in a display using the set of channel information pro
  • getFirstDisplay
    Returns the first display associated with an overlay
  • getOverlayInfo
    Returns the overlay info list associated with this service. There is one list per ImageJ context. It
  • getSelectionBounds
    Gets the bounding box for the selected overlays in the given ImageDisplay.

Popular in Java

  • Making http requests using okhttp
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • BoxLayout (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Join (org.hibernate.mapping)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top plugins for WebStorm
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