public class RailView extends SlotView
Rail
class.Constructor and Description |
---|
RailView(Rail model,
Direction direction,
boolean isStraightRail)
Creates a
RailView based on the given parameters. |
Modifier and Type | Method and Description |
---|---|
javafx.scene.image.Image |
getImage()
Returns the
Image object which belongs to this RailView . |
draw, injectCanvas, injectPoint
public javafx.scene.image.Image getImage()
Image
object which belongs to this RailView
.getImage
in class SimpleView<Slot>
Image