mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-25 20:11:18 +00:00
Merge branch 'master' into master-github
This commit is contained in:
commit
b68f901525
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
# Created by .ignore support plugin (hsz.mobi)
|
||||
### Example user template template
|
||||
### Example user template
|
||||
|
||||
# IntelliJ project files
|
||||
.idea
|
||||
*.iml
|
||||
out
|
||||
gen
|
@ -36,6 +36,8 @@
|
||||
package net.sourceforge.plantuml.creole;
|
||||
|
||||
import java.awt.geom.Dimension2D;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import net.sourceforge.plantuml.Dimension2DDouble;
|
||||
import net.sourceforge.plantuml.ISkinSimple;
|
||||
@ -57,6 +59,11 @@ public class CreoleHorizontalLine extends AbstractAtom implements Atom {
|
||||
private final char style;
|
||||
private final ISkinSimple skinParam;
|
||||
|
||||
@Override
|
||||
public List<Atom> splitInTwo(StringBounder stringBounder, double width) {
|
||||
return Arrays.asList((Atom) this);
|
||||
}
|
||||
|
||||
public static CreoleHorizontalLine create(FontConfiguration fontConfiguration, String line, char style,
|
||||
ISkinSimple skinParam) {
|
||||
return new CreoleHorizontalLine(fontConfiguration, line, style, skinParam);
|
||||
|
Loading…
Reference in New Issue
Block a user