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