net.sf.latexdraw.glib.views.Java2D.interfaces
Interface IViewArrow

All Known Implementing Classes:
LArrowView

public interface IViewArrow

This interface defines a view of an arrow.

This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

11/18/2011

Since:
3.0
Author:
Arnaud BLOUIN

Method Summary
 void paint(java.awt.Graphics2D g, java.awt.Color fColour, boolean asShadow)
          Paints the arrow.
 void updatePath()
          Updates the path of the arrow.
 

Method Detail

paint

void paint(java.awt.Graphics2D g,
           java.awt.Color fColour,
           boolean asShadow)
Paints the arrow.

Parameters:
g - The graphics into which the arrow will be painted.
fColour - The colour of the filling of the arrow.
asShadow - True: it is the shadow of a shape.
Since:
3.0

updatePath

void updatePath()
Updates the path of the arrow.

Since:
3.0