createRect static method

IPropertyValue createRect(
  1. Rect value
)

Implementation

static IPropertyValue createRect(Rect value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

  try {
    return IPropertyValueStatics.fromRawPointer(activationFactory)
        .createRect(value);
  } finally {
    free(activationFactory);
  }
}