blob: 740d3fee2e70faff8a4201c3bb07981695eaec8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
package org.apache.xml.fop.layout;
import org.apache.xml.fop.render.Renderer;
public class InlineArea extends Area {
private String text;
private float red, green, blue;
public InlineArea(FontState fontState, float red, float green, float blue, String text, int width) {
super(fontState);
this.red = red;
this.green = green;
this.blue = blue;
this.text = text;
this.contentRectangleWidth = width;
}
public void render(Renderer renderer) {
renderer.renderInlineArea(this);
}
public float getBlue() {
return this.blue;
}
public float getGreen() {
return this.green;
}
public float getRed() {
return this.red;
}
public String getText() {
return this.text;
}
}
|