예제 #1
0
        internal override ShapeItem Clone(ReadableIdentifier cloneName)
        {
            var shapeItem = new ShapeItem2D(cloneName, ShapeDefinition.ToUV());

            shapeItem.MetricWidth   = MetricWidth;
            shapeItem.RotationAngle = RotationAngle;
            shapeItem.MetricHeight  = MetricHeight;
            return(shapeItem);
        }
예제 #2
0
 /// <inheritdoc/>
 internal override ShapeItem Clone(ReadableIdentifier cloneName)
 {
     return(new NativeControlItem(cloneName, ShapeDefinition.ToUV(), SegmentSpeeds));
 }