Package frc.spectrumLib.sim
Class Circle
java.lang.Object
frc.spectrumLib.sim.Circle
-
Constructor Summary
ConstructorsConstructorDescriptionCircle(int backgroundLines, double diameterInches, String name, MechanismRoot2d root, Mechanism2d mech) Circle(Mechanism2d mech, int backgroundLines, double diameterInches, String name, MechanismRoot2d root, Color8Bit color) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddrawViz()intvoidsetBackgroundColor(Color8Bit color) voidvoidsetHalfBackground(Color8Bit color8Bit, Color8Bit color8Bit2) void
-
Constructor Details
-
Circle
public Circle(int backgroundLines, double diameterInches, String name, MechanismRoot2d root, Mechanism2d mech) -
Circle
public Circle(Mechanism2d mech, int backgroundLines, double diameterInches, String name, MechanismRoot2d root, Color8Bit color)
-
-
Method Details
-
drawCircle
public void drawCircle() -
drawViz
public void drawViz() -
setBackgroundColor
-
setHalfBackground
-
getCircleBackground
-
getBackgroundLines
public int getBackgroundLines() -
setColor
-
setName
-