Draw a single dice
plot_single_dice(
ggplot = NULL,
result = 6,
x = 0,
y = 0,
width = 0.9,
fill = "white",
detailed = FALSE,
rounding = width/5,
line_size = 0.8,
line_color = "black",
point_size = width/6,
point_color = "black"
)
ggplot-Object
ggplot-Object. If passed, the dice will be added to plot
Result of dice rolling (0..6)
X-coordinate of dice (center)
y-coordinate of dice (center)
Width of dice
Fill color
If TRUE, the dice is plotted with more details
Rounding of dice (only used if detailed == TRUE)
Size of Lines
Color of Lines
Size of Points
Color of Points