LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
XPolyPolygon2D.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20module com { module sun { module star { module rendering {
21
27{
60
61
65
66
73 long getNumberOfPolygonPoints( [in] long polygon )
75
76
81
82
86 void setFillRule( [in] FillRule fillRule );
87
88
91 boolean isClosed( [in] long index )
93
94
98 void setClosed( [in] long index, [in] boolean closedState )
100};
101
102}; }; }; };
103
104/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.idl:27
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition IndexOutOfBoundsException.idl:31
Generic interface for poly-polygons in 2D.
Definition XPolyPolygon2D.idl:27
FillRule getFillRule()
Query the rule used to determine inside and outside of the poly-polygon.
void setFillRule([in] FillRule fillRule)
Set the rule used to determine inside and outside of the poly-polygon.
long getNumberOfPolygonPoints([in] long polygon)
Query number of points inside given polygon.
void setClosed([in] long index, [in] boolean closedState)
Set the close state of the specified polygon outline.
void addPolyPolygon([in] ::com::sun::star::geometry::RealPoint2D position, [in] XPolyPolygon2D polyPolygon)
Add the specified poly-polygon at the given position.
long getNumberOfPolygons()
Query number of polygons inside this poly-polygon.
boolean isClosed([in] long index)
Query whether the specified polygon outline is closed.
base interface of all UNO interfaces
Definition XInterface.idl:46
FillRule
Determines which algorithm to use when determining inside and outside of filled poly-polygons.
Definition FillRule.idl:28
Definition Ambiguous.idl:20
This structure defines a two-dimensional point.
Definition RealPoint2D.idl:30