MediaExtensions Class

Summary

Provides extension methods for Avalonia media.
Namespace
Avalonia.Media
Base Types
  • object
graph BT Type-->Base0["object"] Type["MediaExtensions"] class Type type-node

Syntax

public static class MediaExtensions

Methods

Name Value Summary
CalculateScaling(Stretch, Size, Size, StretchDirection) Vector
Calculates scaling based on a Stretch value.
static
CalculateSize(Stretch, Size, Size, StretchDirection) Size
Calculates a scaled size based on a Stretch value.
static