Class ScreenMarkerPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.screenmarkers.ScreenMarkerPlugin
-
- All Implemented Interfaces:
com.google.inject.Module
@PluginDescriptor(name="Screen Markers", description="Enable drawing of screen markers on top of the client", tags={"boxes","overlay","panel"}) public class ScreenMarkerPlugin extends Plugin
-
-
Constructor Summary
Constructors Constructor Description ScreenMarkerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompleteSelection()voiddeleteMarker(ScreenMarkerOverlay marker)voidfinishCreation(boolean aborted)ColorPickerManagergetColorPickerManager()List<ScreenMarkerOverlay>getScreenMarkers()RectanglegetSelectedWidgetBounds()booleanisCreatingScreenMarker()booleanisDrawingScreenMarker()voidonProfileChanged(ProfileChanged profileChanged)voidsetCreatingScreenMarker(boolean creatingScreenMarker)voidsetMouseListenerEnabled(boolean enabled)voidsetSelectedWidgetBounds(Rectangle selectedWidgetBounds)protected voidshutDown()voidstartCreation(Point location)voidstartCreation(Point location, Dimension size)protected voidstartUp()voidupdateConfig()-
Methods inherited from class net.runelite.client.plugins.Plugin
configure, equals, getInjector, getName, hashCode, resetConfiguration
-
-
-
-
Method Detail
-
startUp
protected void startUp() throws Exception
-
shutDown
protected void shutDown() throws Exception
-
onProfileChanged
@Subscribe public void onProfileChanged(ProfileChanged profileChanged)
-
setMouseListenerEnabled
public void setMouseListenerEnabled(boolean enabled)
-
startCreation
public void startCreation(Point location)
-
finishCreation
public void finishCreation(boolean aborted)
-
completeSelection
public void completeSelection()
-
deleteMarker
public void deleteMarker(ScreenMarkerOverlay marker)
-
updateConfig
public void updateConfig()
-
getScreenMarkers
public List<ScreenMarkerOverlay> getScreenMarkers()
-
getColorPickerManager
public ColorPickerManager getColorPickerManager()
-
isCreatingScreenMarker
public boolean isCreatingScreenMarker()
-
setCreatingScreenMarker
public void setCreatingScreenMarker(boolean creatingScreenMarker)
-
isDrawingScreenMarker
public boolean isDrawingScreenMarker()
-
getSelectedWidgetBounds
public Rectangle getSelectedWidgetBounds()
-
setSelectedWidgetBounds
public void setSelectedWidgetBounds(Rectangle selectedWidgetBounds)
-
-