22 package com.realtime.crossfire.jxclient.gui.log;
24 import java.awt.Graphics;
25 import java.awt.font.FontRenderContext;
26 import java.awt.geom.RectangularShape;
27 import org.jetbrains.annotations.NotNull;
60 void draw(@NotNull Graphics g,
int y, @NotNull
Fonts fonts);
76 RectangularShape
getSize(@NotNull
Fonts fonts, @NotNull FontRenderContext context);
RectangularShape getSize(@NotNull Fonts fonts, @NotNull FontRenderContext context)
Returns the size of this segment in pixels.
void draw(@NotNull Graphics g, int y, @NotNull Fonts fonts)
Draws this segment to a Graphics instance.
One segment of a Line which should be displayed without changing text attributes. ...
void updateAttributes(@NotNull Fonts fonts, @NotNull FontRenderContext context)
Updates the cached attributes of this segment.
void setY(int y)
Sets the y-coordinate to display the segment.
void setWidth(int width)
Sets the width to display the segment.
void setX(int x)
Sets the x-coordinate to display the segment.