Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class DrawingUtils

    Class DrawingUtils

    Inheritance
    System.Object
    DrawingUtils
    Namespace: MediaBrowser.Model.Drawing
    Assembly: MediaBrowser.Model.dll
    Syntax
    public static class DrawingUtils

    Methods

    Resize(ImageSize, Double, Double, Double, Double)

    Resizes a set of dimensions

    Declaration
    public static ImageSize Resize(ImageSize size, double width, double height, double maxWidth, double maxHeight)
    Parameters
    Type Name Description
    ImageSize size

    The original size object

    System.Double width

    A new fixed width, if desired

    System.Double height

    A new fixed height, if desired

    System.Double maxWidth

    A max fixed width, if desired

    System.Double maxHeight

    A max fixed height, if desired

    Returns
    Type Description
    ImageSize

    A new size object

    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.