Tabnine Logo
YoAppearanceRGBColor.getBlue
Code IndexAdd Tabnine to your IDE (free)

How to use
getBlue
method
in
us.ihmc.graphicsDescription.appearance.YoAppearanceRGBColor

Best Java code snippets using us.ihmc.graphicsDescription.appearance.YoAppearanceRGBColor.getBlue (Showing top 2 results out of 315)

origin: us.ihmc/ihmc-graphics-description

public Color getColor()
{
 if (appearance instanceof YoAppearanceRGBColor)
 {
   YoAppearanceRGBColor yoAppearanceRGBColor = (YoAppearanceRGBColor) appearance;
   Color color = new Color(yoAppearanceRGBColor.getRed(), yoAppearanceRGBColor.getGreen(), yoAppearanceRGBColor.getBlue());
   return color;
 }
 else
 {
   throw new RuntimeException("No color defined");
 }
}
origin: us.ihmc/IHMCGraphicsDescription

public Color getColor()
{
 if (this.appearance instanceof YoAppearanceRGBColor)
 {
   YoAppearanceRGBColor yoAppearanceRGBColor = (YoAppearanceRGBColor) this.appearance;
   Color color = new Color(yoAppearanceRGBColor.getRed(), yoAppearanceRGBColor.getGreen(), yoAppearanceRGBColor.getBlue());
   return color;
 }
 else
 {
   throw new RuntimeException("No color defined");
 }
}
us.ihmc.graphicsDescription.appearanceYoAppearanceRGBColorgetBlue

Popular methods of YoAppearanceRGBColor

  • <init>
  • setTransparency
  • getColor
  • getGreen
  • getRed
  • getTransparency

Popular in Java

  • Start an intent from android
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • JFileChooser (javax.swing)
  • CodeWhisperer alternatives
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