mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-21 20:45:10 +00:00
fix: note split problem
This commit is contained in:
parent
18b688210f
commit
5ac89402b0
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;
|
package net.sourceforge.plantuml.creole;
|
||||||
|
|
||||||
import java.awt.geom.Dimension2D;
|
import java.awt.geom.Dimension2D;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.Dimension2DDouble;
|
import net.sourceforge.plantuml.Dimension2DDouble;
|
||||||
import net.sourceforge.plantuml.ISkinSimple;
|
import net.sourceforge.plantuml.ISkinSimple;
|
||||||
@ -57,6 +59,11 @@ public class CreoleHorizontalLine extends AbstractAtom implements Atom {
|
|||||||
private final char style;
|
private final char style;
|
||||||
private final ISkinSimple skinParam;
|
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,
|
public static CreoleHorizontalLine create(FontConfiguration fontConfiguration, String line, char style,
|
||||||
ISkinSimple skinParam) {
|
ISkinSimple skinParam) {
|
||||||
return new CreoleHorizontalLine(fontConfiguration, line, style, skinParam);
|
return new CreoleHorizontalLine(fontConfiguration, line, style, skinParam);
|
||||||
|
Loading…
Reference in New Issue
Block a user