IShapeCollection
Genel Bakış
IShapeCollection Java için FOSS’de bir arayüz.
Bir dizi şekli temsil ediyor.
Bu arayüz Java programlarında IShapeCollection nesnelerle çalışmak için 25 yöntem sağlar. Kullanılabilir yöntemler şunlardır: addAutoShape, addConnector, addPictureFrame, addTable, asICollection, asIEnumerable, clear, get, getParentGroup, indexOf, insertAutoShape, insertConnector, ve 7 ek yöntem. Tüm kamu üyeleri, Java için FOSS paketini yükledikten sonra herhangi bir Java uygulamasına erişilebilir. Özellikleri: parentGroup.
Özellikler
| Adı: | Tip: | Access | Açıklama: |
|---|---|---|---|
parentGroup | IGroupShape | Oku . | Bu koleksiyon için ana grup şeklini alır veya bu koleksiyona doğrudan bir slayt aittirse {@code null} . |
Yöntemler
| Signature | Açıklama: |
|---|---|
getParentGroup() → IGroupShape | Bu koleksiyon için ana grup şeklini alır veya bu koleksiyona doğrudan bir slayt aittirse {@code null} . |
asICollection() → List<IShape> | Bu koleksiyonu değiştirilmez bir {@link list} olarak gönderir. |
asIEnumerable() → Iterable<IShape> | Bu koleksiyonu {@link Iterable} olarak gönderir. |
get(index: int) → IShape | Belirtilen indeksteki şekli alır. |
size() → int | Koleksiyonun şekillerinin sayısını gönderir. |
addAutoShape(shapeType: ShapeType, x: double, y: double, width: double, height: double) → IAutoShape | Yeni bir AutoShape oluşturur ve koleksiyona ekler. |
addAutoShape(shapeType: ShapeType, x: double, y: double, width: double, height: double, createFromTemplate: boolean) → IAutoShape | Yeni bir AutoShape oluşturur ve koleksiyona ekler. |
insertAutoShape(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double) → IAutoShape | Yeni bir AutoShape oluşturur ve belirtilen indeksde ekler. |
insertAutoShape(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double, createFromTemplate: boolean) → IAutoShape | Yeni bir AutoShape oluşturur ve belirtilen indeksde ekler. |
addConnector(shapeType: ShapeType, x: double, y: double, width: double, height: double) → IConnector | Koleksiyona bir bağlantı ekliyor. |
addConnector(shapeType: ShapeType, x: double, y: double, width: double, height: double, createFromTemplate: boolean) → IConnector | Koleksiyona bir bağlantı ekliyor. |
insertConnector(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double) → IConnector | Bir bağlantı oluşturur ve belirtilen indekte yerleştirir. |
insertConnector(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double, createFromTemplate: boolean) → IConnector | Bir bağlantı oluşturur ve belirtilen indekte yerleştirir. |
addPictureFrame(shapeType: ShapeType, x: double, y: double, width: double, height: double, image: IPPImage) → IPictureFrame | Koleksiyona bir resim çerçeve ekler. |
insertPictureFrame(index: int, shapeType: ShapeType, x: double, y: double, width: double, height: double, image: IPPImage) → IPictureFrame | Resim çerçevesini oluşturur ve belirtilen indeksde yerleştirir. |
addTable(x: double, y: double, colWidths: double[], rowHeights: double[]) → ITable | Koleksiyona bir masa ekliyor. |
insertTable(index: int, x: double, y: double, colWidths: double[], rowHeights: double[]) → ITable | Bir tablo oluşturur ve belirtilen indeksde ekler. |
indexOf(shape: IShape) → int | Belirtilen şeklin indeksini gönderir. |
toArray() → IShape[] | Tüm şekilleri bir dizi olarak gönderir. |
toArray(startIndex: int, count: int) → IShape[] | Bir dizi şekil geri verir. |
reorder(index: int, shape: IShape) | Bir şekli belirtilen konuma taşıyor. |
reorder(index: int, shapes: IShape[]) | Çoklu şekilleri belirtilen konuma taşıyor. |
removeAt(index: int) | Belirtilen indeksde şekli kaldırır. |
remove(shape: IShape) | Koleksiyondan belirtilen şekli kaldırır. |
clear() | Koleksiyondan tüm şekilleri çıkarıyor. |