AnimatedChevronUpDownSmallVisualSource.Markers 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供從標記名稱到 AnimationedIcon動畫視覺效果中播放位置的對應。
public:
property IMapView<Platform::String ^, double> ^ Markers { IMapView<Platform::String ^, double> ^ get(); };
IMapView<winrt::hstring, double> Markers();
public IReadOnlyDictionary<string,double> Markers { get; }
var iMapView = animatedChevronUpDownSmallVisualSource.markers;
Public ReadOnly Property Markers As IReadOnlyDictionary(Of String, Double)
屬性值
標記名稱和值集合,如動畫圖標的 JSON 檔案中所定義。
實作
備註
定義標記名稱和值的 JSON 檔案是由 LottieGen產生。
下列範例顯示 Lottie JSON 檔案中的標記格式。 如需詳細資訊,請參閱 AnimatedIcon 指引。
"markers":[{"tm":0,"cm":"NormalToPointerOver_Start","dr":0},{"tm":9,"cm":"NormalToPointerOver_End","dr":0},
{"tm":10,"cm":"NormalToPressed_Start","dr":0},{"tm":19,"cm":"NormalToPressed_End","dr":0},
{"tm":20,"cm":"PointerOverToNormal_Start","dr":0},{"tm":29,"cm":"PointerOverToNormal_End","dr":0},
{"tm":30,"cm":"PointerOverToPressed_Start","dr":0},{"tm":39,"cm":"PointerOverToPressed_End","dr":0},
{"tm":40,"cm":"PressedToNormal_Start","dr":0},{"tm":49,"cm":"PressedToNormal_End","dr":0},
{"tm":50,"cm":"PressedToPointerOver_Start","dr":0},{"tm":69,"cm":"PressedToPointerOver_End","dr":0},
{"tm":90,"cm":"PressedToNormal_Start","dr":0},{"tm":99,"cm":"PressedToNormal_End","dr":0},
{"tm":100,"cm":"PressedToPointerOver_Start","dr":0},{"tm":101,"cm":"PressedToPointerOver_End","dr":0}]