Skip to content

Commit

Permalink
Add missing javadoc comment and update Maven Javadoc plugin version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfree committed Jul 21, 2021
1 parent 338333c commit cda5c91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<configuration>
<docfilessubdirs>true</docfilessubdirs>
<linksource>true</linksource>
Expand Down
7 changes: 6 additions & 1 deletion src/main/java/org/jfree/skija/SkijaGraphics2D.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,12 @@ private void init(Canvas canvas) {
this.typeface = Typeface.makeFromName(this.awtFont.getFontName(), FontStyle.NORMAL);
this.skijaFont = new org.jetbrains.skija.Font(typeface, 12);
}


/**
* Returns the Skija surface that was created by this instance, or {@code null}.
*
* @return The Skija surface (possibly {@code null}).
*/
public Surface getSurface() {
return this.surface;
}
Expand Down

0 comments on commit cda5c91

Please # to comment.