Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/main/java/com/attacktimer/AttackTimerMetronomePlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,12 @@
import com.google.inject.Provides;
import java.awt.Color;
import java.awt.Dimension;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SeekableByteChannel;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Pattern;
import java.util.stream.Stream;

import javax.inject.Inject;
import net.runelite.api.Actor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* Copyright (c) 2022, Nick Graves <https://github.com/ngraves95>
* Copyright (c) 2024, Lexer747 <https://github.com/Lexer747>
* Copyright (c) 2024-2026, Lexer747 <https://github.com/Lexer747>
* Copyright (c) 2024, Richardant <https://github.com/Richardant>
* All rights reserved.
*
Expand Down Expand Up @@ -124,21 +124,4 @@ else if (config.fontType() == FontTypes.BOLD)
}
return null;
}

private void renderTile(final Graphics2D graphics, final LocalPoint dest, final Color color, final Color fillColor, final double borderWidth)
{
if (dest == null)
{
return;
}

final Polygon poly = Perspective.getCanvasTilePoly(client, dest);

if (poly == null)
{
return;
}

OverlayUtil.renderPolygon(graphics, poly, color, fillColor, new BasicStroke((float) borderWidth));
}
}
Loading