本文整理汇总了Java中com.jogamp.graph.geom.Vertex.Factory方法的典型用法代码示例。如果您正苦于以下问题:Java Vertex.Factory方法的具体用法?Java Vertex.Factory怎么用?Java Vertex.Factory使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.jogamp.graph.geom.Vertex
的用法示例。
在下文中一共展示了Vertex.Factory方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: OutlineShape
import com.jogamp.graph.geom.Vertex; //导入方法依赖的package包/类
/**
* Create a new Outline based Shape
*/
public OutlineShape(Vertex.Factory<? extends Vertex> factory) {
this.vertexFactory = factory;
this.outlines = new ArrayList<Outline>(3);
this.outlines.add(new Outline());
this.outlineState = VerticesState.UNDEFINED;
this.bbox = new AABBox();
this.dirtyBits = 0;
}
示例2: GlyphShape
import com.jogamp.graph.geom.Vertex; //导入方法依赖的package包/类
/**
* Create a new Glyph shape based on Parametric curve control polyline
*/
public GlyphShape(Vertex.Factory<? extends Vertex> factory) {
shape = new OutlineShape(factory);
}
示例3: vertexFactory
import com.jogamp.graph.geom.Vertex; //导入方法依赖的package包/类
public final Vertex.Factory<? extends Vertex> vertexFactory() {
return shape.vertexFactory();
}
示例4: vertexFactory
import com.jogamp.graph.geom.Vertex; //导入方法依赖的package包/类
/**
* Returns the associated vertex factory of this outline shape
*
* @return Vertex.Factory object
*/
public final Vertex.Factory<? extends Vertex> vertexFactory() {
return vertexFactory;
}
示例5: getVertexFactory
import com.jogamp.graph.geom.Vertex; //导入方法依赖的package包/类
public final Vertex.Factory<? extends Vertex> getVertexFactory() { return vertexFactory; }