src/main/java/com/spinyowl/legui/system/renderer/nvg/util/NvgRenderUtils.java
public static void runWithScissor(long context, Component parent, Runnable runnable) {
    createScissorByParent(context, parent);
    runnable.run();
    resetScissor(context);
  }
/**
   * Wraps the given runnable execution with scissor.
   */
Wraps the given runnable execution with scissor.
Wraps the given runnable execution with scissor .
public static void runWithScissor(long context, Component parent, Runnable runnable) {
    createScissorByParent(context, parent);
    runnable.run();
    resetScissor(context);
  }
public static void runWithScissor ( long context , Component parent , Runnable runnable ) { createScissorByParent ( context , parent ) ; runnable . run ( ) ; resetScissor ( context ) ; }
Wraps the given runnable execution with scissor.
Wraps the given runnable execution with scissor .