Tabnine Logo
DefaultGraphArcStyle.createStroke
Code IndexAdd Tabnine to your IDE (free)

How to use
createStroke
method
in
ca.uvic.cs.chisel.cajun.graph.arc.DefaultGraphArcStyle

Best Java code snippets using ca.uvic.cs.chisel.cajun.graph.arc.DefaultGraphArcStyle.createStroke (Showing top 1 results out of 315)

origin: edu.stanford.protege/ca.uvic.cs.chisel.cajun

public Stroke getStroke(GraphArc arc) {
  float width = (arc.isSelected() && arc.isHighlighted() ? THICK_STROKE_WIDTH : (arc.isHighlighted() || arc.isSelected() ? MEDIUM_STROKE_WIDTH : THIN_STROKE_WIDTH));
  return createStroke(width, isDashed);
}
ca.uvic.cs.chisel.cajun.graph.arcDefaultGraphArcStylecreateStroke

Popular methods of DefaultGraphArcStyle

  • setArcTypes
    Sets the arc types - this is done to map a background color/gradient to each arc type.
  • <init>
  • addArcType
    Adds the arc type and maps a color/gradient to it which is used as the line color for the arc. If th
  • getNextDefaultColor
  • getStroke
  • getTypePaint
    Returns the color for the given type, or the default arc color.
  • loadDefaultColors

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • BoxLayout (javax.swing)
  • Best plugins for Eclipse
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