MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / getColor

Method getColor

java/src/org/openqa/selenium/support/Color.java:93–95  ·  view source on GitHub ↗

@return a java.awt.Color class instance

()

Source from the content-addressed store, hash-verified

91 * @return a java.awt.Color class instance
92 */
93 public java.awt.Color getColor() {
94 return new java.awt.Color(red, green, blue, (int) (alpha * 255));
95 }
96
97 @Override
98 public String toString() {

Callers 3

baseColourToAwtMethod · 0.45
fromStringMethod · 0.45

Calls

no outgoing calls

Tested by 2

baseColourToAwtMethod · 0.36