Search in sources :

Example 1 with PointEdgeRenderProps

use of maspack.render.PointEdgeRenderProps in project artisynth_core by artisynth.

the class NURBSCurveBase method createRenderProps.

/**
 * {@inheritDoc}
 */
public RenderProps createRenderProps() {
    RenderProps props = new PointEdgeRenderProps();
    props.setDrawEdges(true);
    props.setPointSize(3);
    props.setLineWidth(2);
    props.setLineColor(Color.WHITE);
    props.setEdgeColor(Color.BLUE);
    props.setPointColor(Color.GREEN);
    return props;
}
Also used : PointEdgeRenderProps(maspack.render.PointEdgeRenderProps) RenderProps(maspack.render.RenderProps) PointEdgeRenderProps(maspack.render.PointEdgeRenderProps)

Aggregations

PointEdgeRenderProps (maspack.render.PointEdgeRenderProps)1 RenderProps (maspack.render.RenderProps)1