getColor() Return the shape's color. line.getColor() Returns return color Value Type Description color Color The current color.