| FoxitPDFSDKforWeb v11.0.6 Archives Foxit PDF SDK for Web

Public Member Functions | Public Attributes | List of all members
PathGraphicObject Interface Reference
UIExtension » addons » advanced_edit » page_editor

Represents a path object within the Page Editor. More...

Inheritance diagram for PathGraphicObject:

## Public Member Functions
Promise< void > | setProperties (properties:Partial< PathGraphicObjectProperties >)
| Set properties for the path object. More...

## Public Attributes
string | type = 'path'
| The type of the graphic object, which is always 'path' for path objects. More...
Public Attributes inherited from PageGraphicsObject
string | type
| The type of the graphic object. It can be one of the following: 'text', 'path', 'image', 'shading'. More...

## Detailed Description

Represents a path object within the Page Editor.

This interface extends PageGraphicsObject and allows you to manipulate and modify path objects within a PDF document.

Since
  9.2.0

## Member Function Documentation

## ◆ setProperties()

Promise<void> PathGraphicObject::setProperties | ( | properties:Partial< PathGraphicObjectProperties > |  | ) |

Set properties for the path object.

Use this method to update the properties of the path object. The properties that can be set are defined by PathGraphicObjectProperties.

Parameters

  properties | Partial<PathGraphicObjectProperties> - An object containing the updated properties for the path object.

Returns
  Promise<void> - A promise that resolves once the properties are successfully set.

Since
  9.2.0

Implements PageGraphicsObject.

## Member Data Documentation

## ◆ type

string PathGraphicObject::type = 'path'

The type of the graphic object, which is always 'path' for path objects.

Since
  9.2.0

@2025 Foxit Software Incorporated. All rights reserved.