MCPcopy Create free account
hub / github.com/Neop/mudmap2 / getWidth

Method getWidth

src/main/java/mudmap2/backend/legend/LegendEntry.java:39–39  ·  view source on GitHub ↗

This method queries the legend entries requested width @param g graphics for width estimation @return width

(Graphics g)

Source from the content-addressed store, hash-verified

37 * @return width
38 */
39 public int getWidth(Graphics g);
40
41 /**
42 * This method renders the legend entry onto an existing graphic

Callers 15

renderLegendMethod · 0.95
testGenerateMethod · 0.65
createGuiMethod · 0.65
paintComponentMethod · 0.65
paintComponentMethod · 0.65
paintComponentMethod · 0.65
getTileSizeMethod · 0.65
paintComponentMethod · 0.65
moveScreenToCursorMethod · 0.65
getPlacePosXMethod · 0.65
getScreenPosXMethod · 0.65
paintComponentMethod · 0.65

Implementers 3

LegendEntryTitlesrc/main/java/mudmap2/backend/legend/L
LegendEntrySeparatorsrc/main/java/mudmap2/backend/legend/L
LegendEntryColorsrc/main/java/mudmap2/backend/legend/L

Calls

no outgoing calls

Tested by 1

testGenerateMethod · 0.52