The org.alivepdf.drawing package contains classes to choose a specific stroke style when using the AlivePDF drawing API.