AutoShape

ภาพรวม

AutoShape เป็นคลาสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: GeometryShape, IAutoShape.

แสดงเป็น AutoShape.

หมวดนี้ให้วิธีการ 53 สําหรับทํางานกับ AutoShape วัตถุในโปรแกรม Java. วิธีการที่ใช้ได้แก่: AutoShape, GeometryShape, addTextFrame, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsIGeometryShape, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getCustomData,และ 40 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: adjustments, alternativeText, alternativeTextTitle, asIGeometryShape, asISlideComponent, cNvPr,และ 28 คนเพิ่มเติม.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
shapeTypeShapeTypeอ่าน{@inheritDoc}

ตรวจสอบการค้นหากิณฑ์ที่กําหนดเอง ({@code <a:custGeom>}) นอกจากนี้ยังมีการค้นคว้ากีณิตศาสตร์แบบตั้งเบสคลาส.

/
textFrameITextFrameอ่านรับเฟรมข้อความ.
textBoxbooleanอ่านรับกล่องข้อความ.
asIGeometryShapeIGeometryShapeอ่านรับค่าเป็นรูปทรงเรขาคณิต.
fillFormatIFillFormatอ่าน{@inheritDoc} /
xdoubleอ่านรับค่า x.
ydoubleอ่านรับค่า y.
widthdoubleอ่านรับความกว้าง.
heightdoubleอ่านรับความสูง.
rotationdoubleอ่านรับค่าการหมุน.
shapeStyleIShapeStyleอ่านรับสไตล์ของรูปทรง.
adjustmentsIAdjustValueCollectionอ่านรับการปรับค่า.
cNvPrElementอ่านรับค่า c nv pr.
textHolderbooleanอ่านรับตัวเก็บข้อความ.
placeholderIPlaceholderอ่านรับค่า placeholder.
customDataICustomDataอ่านรับข้อมูลที่กำหนดเอง.
rawFrameIShapeFrameอ่านรับเฟรมดิบ.
frameIShapeFrameอ่านรับเฟรม.
lineFormatILineFormatอ่านรับรูปแบบบรรทัด.
threeDFormatIThreeDFormatอ่านรับรูปแบบสามมิติ.
effectFormatIEffectFormatอ่านรับรูปแบบเอฟเฟกต์.
hiddenbooleanอ่านรับค่า hidden.
zOrderPositionintอ่านรับตำแหน่งลำดับ z.
connectionSiteCountintอ่านรับจำนวนไซต์การเชื่อมต่อ.
alternativeTextStringอ่านรับข้อความแทน.
alternativeTextTitleStringอ่านรับชื่อข้อความทางเลือก.
nameStringอ่านรับชื่อ.
decorativebooleanอ่านรับค่า decorative.
uniqueIdintอ่านรับค่า id ที่เป็นเอกลักษณ์.
officeInteropShapeIdintอ่านรับค่า ID ของ shape office interop.
groupedbooleanอ่านรับค่าที่จัดกลุ่ม.
asISlideComponentISlideComponentอ่านรับคอมโพเนนต์ as i slide.
slideIBaseSlideอ่านรับสไลด์.
presentationIPresentationอ่านรับการนำเสนอ.

วิธีการ

Signatureคําอธิบาย
AutoShape(xmlElement: Element, saveCallback: Runnable)สร้าง AutoShape ที่รองรับโดยตัว XML ที่ได้รับ.
AutoShape()สร้าง AutoShape โดยไม่มีองค์ประกอบรองรับ.
getShapeType() → ShapeType{@inheritDoc}

ตรวจสอบการค้นหากิณฑ์ที่กําหนดเอง ({@code <a:custGeom>}) นอกจากนี้ยังมีการค้นคว้ากีณิตศาสตร์แบบตั้งเบสคลาส.

/
setShapeType(value: ShapeType){@inheritDoc}

ลบการกําหนดรูปทรงที่ใช้ได้ ({@code <a:custGeom>}) ก่อนที่จะนําไปใช้ preset และล้างลูกของ { @ code < a: prstGeum> } ที่มีอยู่.

/
getTextFrame() → ITextFrameส่งฟรีกรอบข้อความ.
isTextBox() → booleanกลับ true หากกรอบข้อความถูกตั้งค่า.
getAsIGeometryShape() → IGeometryShapeการคืนรูปทรงกิณฑ์ as i.
addTextFrame(text: String) → ITextFrameเพิ่มกรอบข้อความใหม่กับบทความที่ให้ และคืน ITextFrame
getFillFormat() → IFillFormat{@inheritDoc} /
GeometryShape(xmlElement: Element, saveCallback: Runnable)สร้าง GeometryShape ที่รองรับโดยตัว XML ที่ได้รับ.
setParentShapes(shapes: Iterable<IShape>)กําหนดการรวบรวมรูปแบบพี่น้องที่ใช้ในการค้นหาเชื่อมต่อ.
getX() → doubleกลับ x.
setX(x: double)ตั้งค่าค่า x.
getY() → doubleกลับ y.
setY(y: double)ตั้งค่าค่า y.
getWidth() → doubleกลับความกว้าง.
setWidth(width: double)ตั้งค่าค่าความกว้าง.
getHeight() → doubleกลับความสูง.
setHeight(height: double)ตั้งค่าค่าความสูง.
getRotation() → doubleกลับการหมุน.
setRotation(rotation: double)กำหนดค่าการหมุน.
getShapeStyle() → IShapeStyleสภาพของรูปแบบกลับคืนมา.
getAdjustments() → IAdjustValueCollectionการปรับกลับ.
getCNvPr() → Elementกลับ c nv pr.
isTextHolder() → booleanกลับ true หากการถือข้อความถูกตั้งค่า.
getPlaceholder() → IPlaceholderกลับตัวเก็บตําแหน่ง.
getCustomData() → ICustomDataส่งข้อมูลที่กําหนดเองกลับ.
getRawFrame() → IShapeFrameกลับฟรีมาร์คสด.
setRawFrame(value: IShapeFrame)ตั้งค่าค่ากรอบดิบ.
getFrame() → IShapeFrameกลับรูปภาพมาได้.
setFrame(value: IShapeFrame)กำหนดค่าเฟรม.
getLineFormat() → ILineFormatส่งรูปแบบเส้นกลับ.
getThreeDFormat() → IThreeDFormatการคืนรูปแบบ 3d.
getEffectFormat() → IEffectFormatส่งรูปแบบผลการใช้งานกลับ.
isHidden() → booleanกลับ true หากการซ่อนถูกตั้งไว้.
setHidden(value: boolean)ตั้งค่าค่าที่ซ่อนอยู่.
getZOrderPosition() → intกลับตําแหน่ง z ระดับ.
getConnectionSiteCount() → intส่งกลับจํานวนสถานที่เชื่อมต่อ.
getAlternativeText() → Stringการคืนข้อความทางเลือก.
setAlternativeText(value: String)ตั้งค่าค่าข้อความแทน.
getAlternativeTextTitle() → Stringการคืนชื่อข้อความทางเลือก.
setAlternativeTextTitle(value: String)ตั้งค่าค่าชื่อเรื่องข้อความแทน.
getName() → Stringส่งชื่อกลับมา.
setName(value: String)ตั้งค่าค่า name.
isDecorative() → booleanกลับ true หากการตกแต่งถูกตั้งไว้.
setDecorative(value: boolean)ตั้งค่าค่าตกแต่ง.
getUniqueId() → intกลับ ID เอกลักษณ์.
getOfficeInteropShapeId() → intส่งกลับตัวเลขรูปแบบของออฟิศที่เข้าถึง.
isGrouped() → booleanกลับ true หากการจัดกลุ่มถูกตั้งไว้.
getAsISlideComponent() → ISlideComponentกลับส่วนประกอบ as i slide.
getSlide() → IBaseSlideกลับสไลด์.
getPresentation() → IPresentationส่งผลการแสดงภาพกลับคืนมา.
asIPresentationComponent() → IPresentationComponent

ดูเช่นกัน

 ภาษาไทย