public sealed class CropHintsParams : IMessage<CropHintsParams>, IEquatable<CropHintsParams>, IDeepCloneable<CropHintsParams>, IBufferMessage, IMessage
Aspect ratios in floats, representing the ratio of the width to the height
of the image. For example, if the desired aspect ratio is 4/3, the
corresponding float value should be 1.33333. If not specified, the
best possible crop is returned. The number of provided aspect ratios is
limited to a maximum of 16; any aspect ratios provided after the 16th are
ignored.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCropHintsParams\u003c/code\u003e class is used to specify parameters for requesting crop hints annotations within the Google Cloud Vision API.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffer message support.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default one (\u003ccode\u003eCropHintsParams()\u003c/code\u003e) and another that allows creating a new instance based on an existing \u003ccode\u003eCropHintsParams\u003c/code\u003e object (\u003ccode\u003eCropHintsParams(CropHintsParams other)\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAspectRatios\u003c/code\u003e property, of type \u003ccode\u003eRepeatedField<float>\u003c/code\u003e, allows setting multiple desired aspect ratios for the crop, where the number of ratios is limited to 16, and specifies the desired width to height ratio of the image.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers version 2.3.0 of the \u003ccode\u003eCropHintsParams\u003c/code\u003e class, though multiple other versions are also listed, including version 3.7.0 as the latest.\u003c/p\u003e\n"]]],[],null,[]]