大量更新
This commit is contained in:
22
Szmedi.CADkits/TextWithPosition.cs
Normal file
22
Szmedi.CADkits/TextWithPosition.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
using Autodesk.AutoCAD.DatabaseServices;
|
||||
using Autodesk.AutoCAD.Geometry;
|
||||
namespace Szmedi.CADkits;
|
||||
|
||||
public readonly struct TextWithPosition
|
||||
{
|
||||
public ObjectId ObjectId { get; }
|
||||
|
||||
public Point3d Position { get; }
|
||||
|
||||
public string TextContent { get; }
|
||||
|
||||
public TextWithPosition(ObjectId id, Point3d pos, string content)
|
||||
{
|
||||
ObjectId = id;
|
||||
Position = pos;
|
||||
TextContent = content;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user