Method Scale
Scale<T>(IEnumerable<T>, GeoPoint2, double)
Scales objects about a base point, as SCALE does: a circle of radius 10 scaled by 2 is one of radius 20. Sends the queued changes with it.
public IReadOnlyList<T> Scale<T>(IEnumerable<T> objects, GeoPoint2 basePoint, double factor) where T : DxfEntity
Parameters
objectsIEnumerable<T>Objects read from this drawing.
basePointGeoPoint2The point that stays where it is, in the world.
factordoubleThe factor, above nought.
Returns
- IReadOnlyList<T>
New copies of the objects as they are now, under the same handles, in the order given.
Type Parameters
TThe type of the objects given.
Exceptions
- ArgumentNullException
Thrown when the list is null.
- ArgumentException
Thrown when an object was not read from this drawing.
- ArgumentOutOfRangeException
Thrown when a number is not finite or the factor is not above nought.
- CadRemoteException
Thrown when the app refuses, as Move<T>(IEnumerable<T>, GeoVector2) says. Nothing is applied.