CaptionRenderer
Contents
[
Hide
]
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.barcode.generation.renderers.textrenderers.ICaptionRenderer
public class CaptionRenderer implements ICaptionRenderer
Constructors
Constructor | Description |
---|---|
CaptionRenderer(ITextMeasurer textMeasurer, CaptionParameters parameters) |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
hashCode() | |
measure(int maxWidth) | Calculates actual caption size including paddings |
notify() | |
notifyAll() | |
render(ICanvas canvas, System.Drawing.Rectangle layout) | Renders caption on canvas inside specified region |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
CaptionRenderer(ITextMeasurer textMeasurer, CaptionParameters parameters)
public CaptionRenderer(ITextMeasurer textMeasurer, CaptionParameters parameters)
Parameters:
Parameter | Type | Description |
---|---|---|
textMeasurer | ITextMeasurer | |
parameters | CaptionParameters |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
hashCode()
public native int hashCode()
Returns: int
measure(int maxWidth)
public System.Drawing.Size measure(int maxWidth)
Calculates actual caption size including paddings
Parameters:
Parameter | Type | Description |
---|---|---|
maxWidth | int | Max width including paddings |
Returns: com.aspose.ms.System.Drawing.Size - Returns actual caption size including paddings
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
render(ICanvas canvas, System.Drawing.Rectangle layout)
public void render(ICanvas canvas, System.Drawing.Rectangle layout)
Renders caption on canvas inside specified region
Parameters:
Parameter | Type | Description |
---|---|---|
canvas | ICanvas | Canvas to render on |
layout | com.aspose.ms.System.Drawing.Rectangle | Region on canvas |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |