IFancyScrollRectContext.cs 574 B

12345678910111213141516171819
  1. /*
  2. * FancyScrollView (https://github.com/setchi/FancyScrollView)
  3. * Copyright (c) 2020 setchi
  4. * Licensed under MIT (https://github.com/setchi/FancyScrollView/blob/master/LICENSE)
  5. */
  6. using System;
  7. namespace FancyScrollView
  8. {
  9. /// <summary>
  10. /// <see cref="FancyScrollRect{TItemData, TContext}"/> のコンテキストインターフェース.
  11. /// </summary>
  12. public interface IFancyScrollRectContext
  13. {
  14. ScrollDirection ScrollDirection { get; set; }
  15. Func<(float ScrollSize, float ReuseMargin)> CalculateScrollSize { get; set; }
  16. }
  17. }