@Deprecated public class IlpOffsetAttachment extends IlpAbstractAttachment
IlvCompositeGraphic
,
IlvAttachmentLayout
,
IlvAttachmentConstraint
Constructor and Description |
---|
IlpOffsetAttachment(IlpAttachmentLocation location,
IlpAttachable reference,
double dx,
double dy)
Deprecated.
Creates a new instance of an attachment using the provided
location, reference, and offset values.
|
IlpOffsetAttachment(IlpAttachmentLocation localLocation,
IlpAttachmentLocation referenceLocation,
IlpAttachable reference,
double dx,
double dy)
Deprecated.
Creates a new instance of an attachment using the provided
location, reference, and offset values.
|
Modifier and Type | Method and Description |
---|---|
IlpPoint |
compute()
Deprecated.
Calculates the reference point given the location and
offset.
|
IlpPoint |
getOffset()
Deprecated.
Returns the offset being used in the attachment.
|
void |
setOffset(double dx,
double dy)
Deprecated.
Sets the offset used by this attachment.
|
getLocalLocation, getReference, getReferenceLocation, setLocalLocation, setReference, setReferenceLocation
public IlpOffsetAttachment(IlpAttachmentLocation location, IlpAttachable reference, double dx, double dy)
location
- The position in the object that can be attached where
the attachment will be made. For example, the top side of the object
is attached to another object top location.reference
- The object where the attachment will take place.dx
- The horizontal offset.dy
- The vertical offset.IlpAttachmentLocation
public IlpOffsetAttachment(IlpAttachmentLocation localLocation, IlpAttachmentLocation referenceLocation, IlpAttachable reference, double dx, double dy)
localLocation
- The position in the object that can be attached where
the attachment will take place. For example, the top side of the
object that can be attached will be attached to the bottom side of another object.referenceLocation
- The position in the reference object where
the attachment will take place.reference
- The reference object in the attachment operation.dx
- The horizontal offset.dy
- The vertical offset.IlpAttachmentLocation
public IlpPoint getOffset()
public void setOffset(double dx, double dy)
public IlpPoint compute()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.