# cee::ug::OverlayImagePropertyHandler

class `OverlayImagePropertyHandler`

  Property handler for overlay image properties.

  Public Types

  enum `PropertyKey`

    List of property keys for OverlayImagePropertyHandler.

    Values:

    enumerator `IMAGE_NAME`

      Image name

    enumerator `IMAGE_SCALE_WIDTH`

      Image scale width

    enumerator `IMAGE_SCALE_HEIGHT`

      Image scale height

    enumerator `LAYOUT_CORNER`

      Image layout corner

    enumerator `LAYOUT_DIRECTION`

      Image layout direction

    enumerator `BLENDING_MODE`

      Blending mode.

    enumerator `GLOBAL_ALPHA`

      Global alpha value.

  Public Functions

  `OverlayImagePropertyHandler`(PropertySet *propSet, ImageResources *imageResources)

    Creates an overlay image property handler from a given property set propSet.

  Variant `propertyValue`(PropertyKey key) const

    Returns the property value for the specified property key.

    Returns an empty Variant if the property key was not found.

  void `setPropertyValue`(PropertyKey key, Variant data)

    Sets the property key and value to this handlers property set.

    If key exists in the property set, the paired property value is updated to data. Otherwise the key/value pair is added to the property set.

  void `applyToOverlayImage`(vis::OverlayImage *overlayImage, vis::OverlayItem::LayoutCorner *layoutCorner, vis::OverlayItem::LayoutDirection *layoutDirection) const

    Applies the properties in this property set to the specified overlay image.

  void `buildProperties`(const vis::OverlayImage &overlayImage, vis::OverlayItem::LayoutCorner layoutCorner, vis::OverlayItem::LayoutDirection layoutDirection)

    Sets the property keys and values for this property set from the overlay image.

  Public Static Functions

  static Str `propertySetClassType`()

    Returns the class type of the property set.

  static bool `isValidPropertySet`(const PropertySet &propSet)

    Returns true if the specified property set is a valid overlay image property set.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...