当前位置: 首页>>代码示例>>C#>>正文


C# AciColor类代码示例

本文整理汇总了C#中AciColor的典型用法代码示例。如果您正苦于以下问题:C# AciColor类的具体用法?C# AciColor怎么用?C# AciColor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


AciColor类属于命名空间,在下文中一共展示了AciColor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Polyline3dVertex

 /// <summary>
 /// Initializes a new instance of the <c>Polyline3dVertex</c> class.
 /// </summary>
 /// <param name="location">Polyline <see cref="Vector3f">vertex</see> coordinates.</param>
 public Polyline3dVertex(Vector3f location)
     : base(DxfObjectCode.Vertex)
 {
     this.flags = VertexTypeFlags.Polyline3dVertex;
     this.location = location;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
 }
开发者ID:lomatus,项目名称:SharpDxf,代码行数:13,代码来源:Polyline3dVertex.cs

示例2: PolyfaceMeshVertex

 /// <summary>
 /// Initializes a new instance of the <c>PolylineVertex</c> class.
 /// </summary>
 /// <param name="location">Polyface mesh vertex <see cref="Vector3d">location</see>.</param>
 public PolyfaceMeshVertex(Vector3d location)
     : base(DxfObjectCode.Vertex)
 {
     this.flags = VertexTypeFlags.PolyfaceMeshVertex | VertexTypeFlags.Polygon3dMesh;
     this.location = location;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
 }
开发者ID:steve-stanton,项目名称:backsight,代码行数:13,代码来源:PolyfaceMeshVertex.cs

示例3: PolyfaceMeshFace

 /// <summary>
 /// Initializes a new instance of the <c>PolyfaceMeshFace</c> class.
 /// </summary>
 /// <remarks>
 /// By default the face is made up of three vertexes.
 /// </remarks>
 public PolyfaceMeshFace()
     : base(DxfObjectCode.Vertex)
 {
     this.flags = VertexTypeFlags.PolyfaceMeshVertex;
     this.vertexIndexes = new int[3];
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
 }
开发者ID:fearog,项目名称:axecalc,代码行数:15,代码来源:PolyfaceMeshFace.cs

示例4: Point

 /// <summary>
 /// Initializes a new instance of the <c>Point</c> class.
 /// </summary>
 public Point()
     : base(DxfObjectCode.Point)
 {
     this.location = Vector3d.Zero;
     this.thickness = 0.0f;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
     this.normal = Vector3d.UnitZ;
 }
开发者ID:fearog,项目名称:axecalc,代码行数:13,代码来源:Point.cs

示例5: Layer

 /// <summary>
 /// Initializes a new instance of the <c>Layer</c> class.
 /// </summary>
 /// <param name="name">Layer name.</param>
 public Layer(string name)
     : base(DxfObjectCode.Layer)
 {
     if (string.IsNullOrEmpty(name))
         throw (new ArgumentNullException("name"));
     this.name = name;
     this.color = AciColor.Default;
     this.lineType = LineType.Continuous;
     this.isVisible = true;
 }
开发者ID:lomatus,项目名称:SharpDxf,代码行数:14,代码来源:Layer.cs

示例6: PolyfaceMesh

 /// <summary>
 /// Initializes a new instance of the <c>PolyfaceMesh</c> class.
 /// </summary>
 public PolyfaceMesh()
     : base(DxfObjectCode.Polyline)
 {
     this.flags = PolylineTypeFlags.PolyfaceMesh;
     this.faces = new List<PolyfaceMeshFace>();
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
     this.endSequence = new EndSequence();
 }
开发者ID:steve-stanton,项目名称:backsight,代码行数:13,代码来源:PolyfaceMesh.cs

示例7: Polyline3d

 /// <summary>
 /// Initializes a new instance of the <c>Polyline3d</c> class.
 /// </summary>
 /// <param name="vertexes">3d polyline <see cref="Polyline3dVertex">vertex</see> list.</param>
 public Polyline3d(List<Polyline3dVertex> vertexes)
     : base(DxfObjectCode.Polyline)
 {
     this.flags = PolylineTypeFlags.Polyline3D;
     this.vertexes = vertexes;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
     this.endSequence = new EndSequence();
 }
开发者ID:fearog,项目名称:axecalc,代码行数:14,代码来源:Polyline3d.cs

示例8: HatchGradientPattern

 /// <summary>
 /// Initializes a new instance of the <c>HatchGradientPattern</c> class as a default linear gradient. 
 /// </summary>
 /// <param name="description">Description of the pattern (optional, this information is not saved in the dxf file). By default it will use the supplied name.</param>
 public HatchGradientPattern(string description = null)
     : base("SOLID", description)
 {
     this.color1 = AciColor.Blue;
     this.color2 = AciColor.Yellow;
     this.singleColor = false;
     this.gradientType = HatchGradientPatternType.Linear;
     this.tint = 1.0;
     this.centered = true;
 }
开发者ID:NTUST-PTL,项目名称:PTL-Project,代码行数:14,代码来源:HatchGradientPattern.cs

示例9: Circle

 /// <summary>
 /// Initializes a new instance of the <c>Circle</c> class.
 /// </summary>
 /// <param name="center">Circle <see cref="Vector3d">center</see> in object coordinates.</param>
 /// <param name="radius">Circle radius.</param>
 /// <remarks>The center Z coordinate represents the elevation of the arc along the normal.</remarks>
 public Circle(Vector3d center, double radius)
     : base(DxfObjectCode.Circle)
 {
     this.center = center;
     this.radius = radius;
     this.thickness = 0.0f;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
     this.normal = Vector3d.UnitZ;
 }
开发者ID:steve-stanton,项目名称:backsight,代码行数:17,代码来源:Circle.cs

示例10: Circle

 /// <summary>
 /// Initializes a new instance of the <c>Circle</c> class.
 /// </summary>
 public Circle()
     : base(DxfObjectCode.Circle)
 {
     this.center = Vector3f.Zero;
     this.radius = 1.0f;
     this.thickness = 0.0f;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
     this.normal = Vector3f.UnitZ;
 }
开发者ID:lomatus,项目名称:SharpDxf,代码行数:14,代码来源:Circle.cs

示例11: Line

 /// <summary>
 /// Initializes a new instance of the <c>Line</c> class.
 /// </summary>
 public Line()
     : base(DxfObjectCode.Line)
 {
     this.startPoint = Vector3d.Zero;
     this.endPoint = Vector3d.Zero;
     this.thickness = 0.0f;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
     this.normal = Vector3d.UnitZ;
 }
开发者ID:fearog,项目名称:axecalc,代码行数:14,代码来源:Line.cs

示例12: PolylineVertex

 /// <summary>
 /// Initializes a new instance of the <c>PolylineVertex</c> class.
 /// </summary>
 /// <param name="location">Polyline <see cref="Vector2f">vertex</see> coordinates.</param>
 public PolylineVertex(Vector2f location)
     : base(DxfObjectCode.Vertex)
 {
     this.flags = VertexTypeFlags.PolylineVertex;
     this.location = location;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
     this.bulge = 0.0f;
     this.beginThickness = 0.0f;
     this.endThickness = 0.0f;
 }
开发者ID:lomatus,项目名称:SharpDxf,代码行数:16,代码来源:PolylineVertex.cs

示例13: NurbsCurve

 /// <summary>
 /// Initializes a new instance of the <c>NurbsCurve</c> class.
 /// </summary>
 public NurbsCurve()
 {
     this.controlPoints = new List<NurbsVertex>();
     this.normal = Vector3d.UnitZ;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
     this.order = 0;
     this.curvePoints = 30;
     this.elevation = 0.0;
     this.thickness = 0.0f;
     this.normal = Vector3d.UnitZ;
 }
开发者ID:steve-stanton,项目名称:backsight,代码行数:16,代码来源:NURBSCurve.cs

示例14: Solid

 /// <summary>
 /// Initializes a new instance of the <c>Solid</c> class.
 /// </summary>
 /// <param name="firstVertex">Solid <see cref="Vector3d">first vertex</see>.</param>
 /// <param name="secondVertex">Solid <see cref="Vector3d">second vertex</see>.</param>
 /// <param name="thirdVertex">Solid <see cref="Vector3d">third vertex</see>.</param>
 /// <param name="fourthVertex">Solid <see cref="Vector3d">fourth vertex</see>.</param>
 public Solid(Vector3d firstVertex, Vector3d secondVertex, Vector3d thirdVertex, Vector3d fourthVertex)
     : base(DxfObjectCode.Solid)
 {
     this.firstVertex = firstVertex;
     this.secondVertex = secondVertex;
     this.thirdVertex = thirdVertex;
     this.fourthVertex = fourthVertex;
     this.thickness = 0.0f;
     this.normal = Vector3d.UnitZ;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
 }
开发者ID:fearog,项目名称:axecalc,代码行数:20,代码来源:Solid.cs

示例15: Arc

 /// <summary>
 /// Initializes a new instance of the <c>Arc</c> class.
 /// </summary>
 /// <param name="center">Arc <see cref="SharpDxf.Vector3f">center</see> in object coordinates.</param>
 /// <param name="radius">Arc radius.</param>
 /// <param name="startAngle">Arc start angle in degrees.</param>
 /// <param name="endAngle">Arc end angle in degrees.</param>
 /// <remarks>The center Z coordinate represents the elevation of the arc along the normal.</remarks>
 public Arc(Vector3f center, float radius, float startAngle, float endAngle)
     : base(DxfObjectCode.Arc)
 {
     this.center = center;
     this.radius = radius;
     this.startAngle = startAngle;
     this.endAngle = endAngle;
     this.thickness = 0.0f;
     this.layer = Layer.Default;
     this.color = AciColor.ByLayer;
     this.lineType = LineType.ByLayer;
     this.normal = Vector3f.UnitZ;
 }
开发者ID:lomatus,项目名称:SharpDxf,代码行数:21,代码来源:Arc.cs


注:本文中的AciColor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。