/// <summary> /// Determines how to anchor the image when padding or cropping /// </summary> /// <param name="anchorPoint">The position of the anchor point</param> /// <returns></returns> public ResizeExpression Anchor(AnchorPoint anchorPoint) { builder.SetParameter(AlignmentCommands.Anchor, anchorPoint.ToString().ToLowerInvariant()); return(this); }
/// <summary> /// Determines how to anchor the image when padding or cropping /// </summary> /// <param name="anchorPoint">The position of the anchor point</param> /// <returns></returns> public ResizeExpression Anchor(AnchorPoint anchorPoint) { builder.SetParameter(AlignmentCommands.Anchor, anchorPoint.ToString().ToLowerInvariant()); return this; }