This is a java-awt implementation CORE for drawing university schedule.
- Gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.RebootSTR:pretty-university-schedule-awt:Tag'
}- Maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.RebootSTR</groupId>
<artifactId>pretty-university-schedule-awt</artifactId>
<version>Tag</version>
</dependency>- Build
SchedulewithSheduleBuilder. - Pass
ScheduleinAwtDrawer. - Call
AwtDrawer::drawSchedule. - Call
AwtDrawer::savewithFileobject, where you want save a shedule.
Also you can customize some colors and sizes in generated schedule. To do this you should create new implementation from AwtDrawer and override some values.
You can find example for creatnig schedule with builder in rafikov.prettyuniversityschedule.example.AwtExample.kt