Wiki

Clone wiki

GCode Editor / gen / Renderer

Documentation

void zoomUpdated(float newZoom)

Called whenever the zoom level changes.

  • Parameters: newZoom — The new zoom level, as a percentage.

public void setZoom(int value)

Sets the current zoom level.

  • Parameters: value — zoom level as a percentage greater than zero. Values over 100 are fine.

public boolean addZoomListener(ZoomListener e)

Adds a zoom listener

  • Parameters: e — listener to add
  • Returns:

public void removeZoomListener(Object arg0)

Removes a zoom listener

  • Parameters: arg0 — Listener to remove

public float getZMin()

Gets the lowest z-value to render.

  • Returns: the zMin

public void setZMin(float zMin)

Sets the lowest z-value to render.

  • Parameters: zMin — the zMin to set

public float getZMax()

Gets the highest z-value to render.

  • Returns: the zMax

public void setZMax(float zMax)

Sets the highest z-value to render.

  • Parameters: zMax — the zMax to set

public void setIMax(int iMax)

Sets the highest index to render

  • Parameters: iMax — the index

public void setIMin(int iMin)

Sets the lowest index to render

  • Parameters: iMax — the index

public BasicStroke getExtrudeMovementStroke()

  • Returns: the extrudeMovementStroke

public RectangularShape getDiscontinuityMarkerShape()

Gets the shape currently being used to render discontinuityMarkerCommands

  • Returns: a copy of the shape

Updated