.. default-domain:: java .. highlight:: java .. package:: krpc.client.services.Drawing Drawable ======== .. type:: public class Drawable The base class of boxes, markers, paths, points, spheres and text. | Derived classes: :type:`Box`, :type:`Marker`, :type:`Path`, :type:`SphereShape`, :type:`Text` .. method:: boolean getVisible() .. method:: void setVisible(boolean value) Whether the object is visible. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: StdLib.ColorRGB getColor() .. method:: void setColor(StdLib.ColorRGB value) The color of the object. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: For a path drawn with more than one color, this is the color at its start. .. method:: String getMaterial() .. method:: void setMaterial(String value) The material used to render the object. Creates the material from a shader with the given name. Throws an exception if the object is a marker, which the game draws with its own material. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: void remove() Remove the object. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph