public class PickableEdgePaintTransformer<E> extends Object implements com.google.common.base.Function<E,Paint>
Paint
parameters given in the constructor, so that picked and
non-picked edges can be made to look different.Modifier and Type | Field and Description |
---|---|
protected Paint |
draw_paint |
protected PickedInfo<E> |
pi |
protected Paint |
picked_paint |
Constructor and Description |
---|
PickableEdgePaintTransformer(PickedInfo<E> pi,
Paint draw_paint,
Paint picked_paint) |
protected PickedInfo<E> pi
protected Paint draw_paint
protected Paint picked_paint
public PickableEdgePaintTransformer(PickedInfo<E> pi, Paint draw_paint, Paint picked_paint)
pi
- specifies which vertices report as "picked"draw_paint
- Paint
used to draw edge shapespicked_paint
- Paint
used to draw picked edge shapesCopyright © 2015. All rights reserved.