Class Validation.RatioInfoAttribute
- Namespace
- Lime
- Assembly
- Lime.dll
public class Validation.RatioInfoAttribute : Validation.TextureInfoAttribute, Validation.IRequireOwner<Node>, Validation.IRequireOwner, Validation.IValidator<Vector2>, Validation.IValidator
- Inheritance
-
Validation.RatioInfoAttribute
- Implements
- Inherited Members
Constructors
RatioInfoAttribute(params Type[])
public RatioInfoAttribute(params Type[] validatableTypes)
Parameters
validatableTypes
Type[]
Methods
Validate(ISprite, Vector2)
protected override IEnumerable<(Validation.Result, string)> Validate(ISprite sprite, Vector2 size)