aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout/InlineSpace.java
blob: d33f2e45907cbd6836911c162a552e89a8781473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.apache.xml.fop.layout;

import org.apache.xml.fop.render.Renderer;

public class InlineSpace extends Space {
    private int size; // in millipoints
    
    public InlineSpace(int amount) {
	this.size = amount;
    }

    public int getSize() {
	return size;
    }

    public void setSize(int amount) {
	this.size = amount;
    }

    public void render(Renderer renderer) {
	renderer.renderInlineSpace(this);
    }
}